fi
stop_all_netdata
- run service netdata start && started=1
+ run service netdata restart && started=1
fi
if [ ${started} -eq 0 ]
# check if we can use the system service
run service netdata stop
stop_all_netdata
- run service netdata start && started=1
+ run service netdata restart && started=1
+ if [ ${started} -eq 0 ]
+ then
+ run service netdata start && started=1
+ fi
fi
fi
-------------------------------------------------------------------------------
INFO: Command line options changed. -pidfile, -nd and -ch are deprecated.
- If you use custom stratup scripts please run netdata -h to see the
+ If you use custom startup scripts, please run netdata -h to see the
corresponding options and update your scripts.
Hit http://${access}:${NETDATA_PORT}/ from your browser.