Code

src/plugin.c: Some fixes for write limits.
[collectd.git] / contrib / fedora / init.d-collectd
index 2bf877c108066187df24971514e0f69876322c43..ea8662ad60117b6e13cabd8c330a87d3c08f8a00 100644 (file)
@@ -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}"