Hi Manuel

On jeu.  2 août 12:30:16 2018, Manuel Mommertz wrote:
> Hey Alarig,
> 
> I suggest to read the man-page of start-stop-daemon to get an detailed idea 
> of 
> how it works.
> 
> You use '--name paste-py' which tells start-stop-daemon to look for a process 
> named 'paste-py' to see if it is still running, when you request the status. 
> As your shell-script runs daemonize.py as the last step and then quits 
> itself, 
> there is no process with the name 'paste-py' and therefore the reported 
> status 
> is 'crashed'.
> Use '--pidfile /opt/paste-py/paste.pid' instead. With this, the status is 
> determined by reading the pid from the file and then looking if this pid is 
> still running.

Thanks a lot it’s now displayed as running :)
bulbizarre ~ # rc-status | grep paste
 paste-py                                                          [  started  ]

-- 
alarig

Reply via email to