projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08f5dee
)
contrib/fedora/init.d-collectd: Fix condrestart.
author
Alan Pevec
<apevec@redhat.com>
Tue, 11 Aug 2009 22:52:47 +0000
(
00:52
+0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Mon, 17 Aug 2009 07:40:31 +0000
(09:40 +0200)
on upgrade collectd is not restarted
https://bugzilla.redhat.com/show_bug.cgi?id=516273
Signed-off-by: Alan Pevec <apevec@redhat.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
contrib/fedora/init.d-collectd
patch
|
blob
|
history
diff --git
a/contrib/fedora/init.d-collectd
b/contrib/fedora/init.d-collectd
index
2bf877c
..
ea8662a
100644
(file)
--- 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 ] &&
re
start || :
+ [ -f /var/lock/subsys/$prog ] &&
stop &&
start || :
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"