diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-09-03 09:36:44 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-09-03 09:36:44 +0000 |
commit | 2164e629c30b7acbe06786a3184f645120ab3acf (patch) | |
tree | 9f359c2807b9b3984d1e9bef6368fd1eb574e9ca /doc | |
parent | c8a5c666239b253ff27b4741d7e65efc18950034 (diff) | |
download | lighttpd-git-2164e629c30b7acbe06786a3184f645120ab3acf.tar.gz |
added reload
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@686 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/rc.lighttpd | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/doc/rc.lighttpd b/doc/rc.lighttpd index 7b0255ce..91accdd5 100755 --- a/doc/rc.lighttpd +++ b/doc/rc.lighttpd @@ -112,28 +112,15 @@ case "$1" in rc_status ;; force-reload) - ## Signal the daemon to reload its config. Most daemons - ## do this on signal 1 (SIGHUP). - ## If it does not support it, restart. - - echo -n "Reload service LIGHTTPD" - ## if it supports it: - killproc -HUP $LIGHTTPD_BIN - #touch /var/run/LIGHTTPD.pid - rc_status -v - - ## Otherwise: - #$0 stop && $0 start - #rc_status - ;; reload) ## Like force-reload, but if daemon does not support ## signalling, do nothing (!) # If it supports signalling: echo -n "Reload service LIGHTTPD" - killproc -HUP $LIGHTTPD_BIN - #touch /var/run/LIGHTTPD.pid + killproc -INT $LIGHTTPD_BIN + $0 start + touch /var/run/lighttpd.pid rc_status -v ## Otherwise if it does not support reload: |