diff --git a/utils/collectd/files/collectd.init b/utils/collectd/files/collectd.init index 89715d4c4..89af365c2 100644 --- a/utils/collectd/files/collectd.init +++ b/utils/collectd/files/collectd.init @@ -333,6 +333,11 @@ process_config() { config_foreach process_plugins plugin } +service_triggers() +{ + procd_add_reload_trigger "collectd" +} + start_service() { process_config @@ -345,3 +350,7 @@ start_service() { procd_set_param respawn procd_close_instance } + +reload_service() { + restart "$@" +}