From df0b626a46d12c5c44fabdf5335df7478460cbf5 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Sun, 1 Nov 2009 14:28:24 +0000 Subject: [PATCH] - 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 git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1605 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- pkg/rpm/sems.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/rpm/sems.init b/pkg/rpm/sems.init index 7a8763a6..142efbeb 100755 --- a/pkg/rpm/sems.init +++ b/pkg/rpm/sems.init @@ -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