Re: [gentoo-user] How does OpenRC know if a service is crashed?

2018-08-02 Thread Alarig Le Lay
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

Re: [gentoo-user] How does OpenRC know if a service is crashed?

2018-08-02 Thread Manuel Mommertz
Am Donnerstag, 2. August 2018, 11:32:23 CEST schrieb Alarig Le Lay: > Hi, > > Some times ago, I wrote a basic init script for a service I?m running > but that is not in the tree. > It?s just a python script behind a reverse-proxy. > > bulbizarre ~ # cat /etc/init.d/paste-py > #!/sbin/openrc-run

[gentoo-user] How does OpenRC know if a service is crashed?

2018-08-02 Thread Alarig Le Lay
Hi, Some times ago, I wrote a basic init script for a service I’m running but that is not in the tree. It’s just a python script behind a reverse-proxy. bulbizarre ~ # cat /etc/init.d/paste-py #!/sbin/openrc-run # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU