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