Use supervisor manage upstart things
Install & start:
sudo apt-get install supervisor sudo service supervisor status sudo service supervisor start
then edit /etc/supervisor/conf.d/your_service.conf, for example, I create a netdata config file:
[program:netdata] command = /usr/sbin/netdata autostart = true autorestart = true stdout_logfile = /var/log/supervisor/netdata.log stderr_logfile = /var/log/supervisor/netdata_err.log
then run
sudo supervisorctl reread sudo supervisorctl update
You may also want to check whether your scripts are running.
sudo supervisorctl # it fires up interactive mode > restart your_service > start your_service > stop your_service













