From f9a8dfcd51e481a49355d94a3e74f2762519378f Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 11 Feb 2007 14:29:54 +0000 Subject: changed repository layout to trunk/, tags/ and branches/ scheme git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@181 04377dda-e619-0410-9926-eae83683ac58 --- trunk/templates/vserver/vserver.d/etc/rc.d/rc.httpd | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 trunk/templates/vserver/vserver.d/etc/rc.d/rc.httpd (limited to 'trunk/templates/vserver/vserver.d/etc/rc.d/rc.httpd') diff --git a/trunk/templates/vserver/vserver.d/etc/rc.d/rc.httpd b/trunk/templates/vserver/vserver.d/etc/rc.d/rc.httpd new file mode 100644 index 0000000..00b8837 --- /dev/null +++ b/trunk/templates/vserver/vserver.d/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 + -- cgit v1.2.3