aboutsummaryrefslogtreecommitdiff
path: root/tags/0.6rc1/templates/vserver/files/etc/rc.d/rc.httpd
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-03-06 02:11:03 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-03-06 02:11:03 +0000
commitb9c230aa292d218765e752517e7ea4d3a74bd8b5 (patch)
tree1e47bdc0d3d140a57435e13d001a5db6bb6a7680 /tags/0.6rc1/templates/vserver/files/etc/rc.d/rc.httpd
parent52a3537b8ebca3a5146cf363ffa6d716f2b00da0 (diff)
downloadsimplepkg-b9c230aa292d218765e752517e7ea4d3a74bd8b5.tar.gz
simplepkg-b9c230aa292d218765e752517e7ea4d3a74bd8b5.tar.bz2
simplepkg 0.6rc1
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@799 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'tags/0.6rc1/templates/vserver/files/etc/rc.d/rc.httpd')
-rw-r--r--tags/0.6rc1/templates/vserver/files/etc/rc.d/rc.httpd21
1 files changed, 21 insertions, 0 deletions
diff --git a/tags/0.6rc1/templates/vserver/files/etc/rc.d/rc.httpd b/tags/0.6rc1/templates/vserver/files/etc/rc.d/rc.httpd
new file mode 100644
index 0000000..00b8837
--- /dev/null
+++ b/tags/0.6rc1/templates/vserver/files/etc/rc.d/rc.httpd
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# /etc/rc.d/rc.httpd
+#
+# Start/stop/restart the Apache web server.
+#
+# To make Apache start automatically at boot, make this
+# file executable: chmod 755 /etc/rc.d/rc.httpd
+#
+
+case "$1" in
+ 'start')
+ /usr/sbin/apachectl start ;;
+ 'stop')
+ /usr/sbin/apachectl stop ;;
+ 'restart')
+ /usr/sbin/apachectl restart ;;
+ *)
+ echo "usage $0 start|stop|restart" ;;
+esac
+