Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2b3fb98d671adc4caf8ece85ceb72fa908346aa6

commit 2b3fb98d671adc4caf8ece85ceb72fa908346aa6
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Thu Nov 1 23:07:02 2007 +0100

apache-2.2.6-1-i686
added rc_restart() to init script

diff --git a/source/network/apache/rc.httpd b/source/network/apache/rc.httpd
index f5c24ff..bbb861b 100644
--- a/source/network/apache/rc.httpd
+++ b/source/network/apache/rc.httpd
@@ -40,6 +40,13 @@ rc_stop()
fi
}

-rc_exec $1
+rc_restart()
+{
+       if [ ! -z "$(eval $pid)" ]; then
+               apachectl graceful
+       else
+               ok 999
+       fi
+}

-# vim: ft=sh
+rc_exec $1
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to