On Sat, Jul 15, 2017 at 02:47:39PM +0100, Jonathan de Boyne Pollard wrote:
> > Type=forking
> > StandardOutput=tty
> > RemainAfterExit=yes
> > SysVStartPriority=99
I know I know, I did not read the manuals on
> You're a long-time daemontools user, you say.
> Why on Earth do you think that Type=forking is
Because I don't think, I copied and it works, if
you did not tell me know, it would remain so for
years probably. I know I should be more
responsible, but I have placed before daemontools
in /etc/inittab and just forgot about it, I guess
that is wanted effect.
> Why on Earth do you think that good daemons fork
> and exit parent?
I don't think really, and I tried the one-shot
method too, but that was not the problem that I
was not exiting.
This one I changed
and now after systemd "start" it exits.
> Why on Earth do you think that svscan -- any
> svscan, from daemontools-encore svscan to
> s6-svscan -- forks and exits parent? Or needs a
You are right, I did not check enough.
Now I have it better and simpler, after reading
your references, but .path is not required in
separate file (I guess):
and start/stop stuff works with systemd.