From 94f2ff236902035a1d549bbe393402ec30ee245f Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Wed, 12 Aug 2009 00:52:47 +0200 Subject: [PATCH] contrib/fedora/init.d-collectd: Fix condrestart. on upgrade collectd is not restarted https://bugzilla.redhat.com/show_bug.cgi?id=516273 Signed-off-by: Alan Pevec Signed-off-by: Florian Forster --- contrib/fedora/init.d-collectd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fedora/init.d-collectd b/contrib/fedora/init.d-collectd index 2bf877c1..ea8662ad 100644 --- a/contrib/fedora/init.d-collectd +++ b/contrib/fedora/init.d-collectd @@ -54,7 +54,7 @@ case "$1" in start ;; condrestart) - [ -f /var/lock/subsys/$prog ] && restart || : + [ -f /var/lock/subsys/$prog ] && stop && start || : ;; *) echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" -- 2.30.2