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
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
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
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
>
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