- According to LSB, the init-script should provide 'reload' target. It was

suggested to return '3' (unimplemented feature) in case then application
  doesn't support reloading.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1605 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Peter Lemenkov 17 years ago
parent a8a0a3524c
commit df0b626a46

@ -88,6 +88,10 @@ case "$1" in
restart|force-reload)
restart
;;
reload)
echo -n $"Reloading $prog: not supported" && failure && echo
RETVAL=3
;;
condrestart|try-restart)
if [ -f $pidfile ] ; then
restart

Loading…
Cancel
Save