Re: rc.d - no support for python scripts

2020-08-22 Thread Thomas Klausner
Hi! Thanks. I hadn't realized the shebang line was used by rc.subr. The attached version of the startup script seems to work fine. Thomas On Sun, Aug 23, 2020 at 12:06:44AM +1000, Luke Mewburn wrote: > Hi Thomas, > > Have you tried replacing your /bin/sh startup script with > a python script

Re: rc.d - no support for python scripts

2020-08-22 Thread Luke Mewburn
Hi Thomas, Have you tried replacing your /bin/sh startup script with a python script (using the same interpreter path that your app uses) that does the same thing? cheers, Luke. On 20-08-17 09:55, Thomas Klausner wrote: | Hi Leo! | | On Mon, Aug 17, 2020 at 09:45:08AM +0200, Leonardo

Re: rc.d - no support for python scripts

2020-08-17 Thread Thomas Klausner
Hi Leo! On Mon, Aug 17, 2020 at 09:45:08AM +0200, Leonardo Taccari wrote: > > I wanted to run a python service using an rc.d script. It knows to write a > > pid file, but that is not good enough for our rc.d system. It complains: > > > > # /etc/rc.d/syncserver stop

Re: rc.d - no support for python scripts

2020-08-17 Thread Leonardo Taccari
Thomas Klausner writes: > Hi! > Hello Thomas, > I wanted to run a python service using an rc.d script. It knows to write a > pid file, but that is not good enough for our rc.d system. It complains: > > # /etc/rc.d/syncserver stop >

rc.d - no support for python scripts

2020-08-16 Thread Thomas Klausner
Hi! I wanted to run a python service using an rc.d script. It knows to write a pid file, but that is not good enough for our rc.d system. It complains: # /etc/rc.d/syncserver stop