diff options
Diffstat (limited to 'system/freebsd')
-rw-r--r-- | system/freebsd/rc.d/netdata.in | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/system/freebsd/rc.d/netdata.in b/system/freebsd/rc.d/netdata.in index fd544c86c..0ede6621e 100644 --- a/system/freebsd/rc.d/netdata.in +++ b/system/freebsd/rc.d/netdata.in @@ -17,10 +17,9 @@ required_files="@configdir_POST@/netdata.conf" start_precmd="netdata_prestart" stop_postcmd="netdata_poststop" -extra_commands="reloadhealth savedb" +extra_commands="reloadhealth" reloadhealth_cmd="netdata_reloadhealth" -savedb_cmd="netdata_savedb" netdata_prestart() { @@ -42,12 +41,5 @@ netdata_reloadhealth() return 0 } -netdata_savedb() -{ - p=`cat ${pidfile}` - kill -USR2 ${p} && echo "Sent USR1 (save db) to pid ${p}" - return 0 -} - load_rc_config $name run_rc_command "$1" |