diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-03-17 15:36:43 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-03-17 15:37:03 +0100 |
commit | 1dffac4f0cca7bc2f6bdc044e2805edff5be1c87 (patch) | |
tree | b16c0d9dd7afd1d4db3239632d6f5116a733ad47 /apache/httpd | |
parent | 4b3da4f08d06e1000aa2ab7fdeec96941d9ffd16 (diff) | |
download | aur-packages-1dffac4f0cca7bc2f6bdc044e2805edff5be1c87.tar.gz aur-packages-1dffac4f0cca7bc2f6bdc044e2805edff5be1c87.tar.xz |
remove apache
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'apache/httpd')
-rwxr-xr-x | apache/httpd | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/apache/httpd b/apache/httpd deleted file mode 100755 index 65ccb6e..0000000 --- a/apache/httpd +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/bash - -daemon_name=httpd - -. /etc/rc.conf -. /etc/rc.d/functions - -APACHECTL=/usr/sbin/apachectl - -case "$1" in - start) - stat_busy "Starting Apache Web Server" - [ ! -d /var/run/httpd ] && install -d /var/run/httpd - if $APACHECTL start &>/dev/null ; then - add_daemon $daemon_name - stat_done - else - stat_fail - exit 1 - fi - ;; - - stop) - stat_busy "Stopping Apache Web Server" - if $APACHECTL stop &>/dev/null ; then - rm_daemon $daemon_name - stat_done - else - stat_fail - exit 1 - fi - ;; - - reload) - stat_busy "Reloading Apache Web Server" - if $APACHECTL graceful &>/dev/null ; then - add_daemon $daemon_name - stat_done - else - stat_fail - exit 1 - fi - ;; - - restart) - stat_busy "Restarting Apache Web Server" - if $APACHECTL restart &>/dev/null ; then - add_daemon $daemon_name - stat_done - else - stat_fail - exit 1 - fi - ;; - - status) - stat_busy "Checking Apache Web Server status"; - ck_status $daemon_name - ;; - - *) - echo "usage: $0 {start|stop|reload|restart|status}" -esac - -exit 0 |