From 125ffdd2f331c5123c036b831a4349bb19035524 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Sat, 31 Oct 2009 16:11:38 +0000 Subject: [PATCH] - LSB specifies try-restart, not condrestart. So I added it as an alias to condrestart. Signed-off-by: Peter Lemenkov git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1598 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- pkg/rpm/sems.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/rpm/sems.init b/pkg/rpm/sems.init index 991550b8..33fa5055 100755 --- a/pkg/rpm/sems.init +++ b/pkg/rpm/sems.init @@ -74,13 +74,13 @@ case "$1" in restart) restart ;; - condrestart) + condrestart|try-restart) if [ -f $pidfile ] ; then restart fi ;; *) - echo $"Usage: $prog {start|stop|restart|condrestart|status|help}" + echo $"Usage: $prog {start|stop|restart|condrestart|try-restart|status|help}" exit 1 esac