Re: [systemd-devel] forking PIDFile question

2018-02-21 Thread steve
On Tuesday, 20 February 2018 07:30:06 GMT Andrei Borzenkov wrote: > > It is expected to be written by your service binary. Ideally it should > do it only after it has completed initialization and is ready to provide > services. > > > Am I right in thinking that LCDd is so old that it hasn't

Re: [systemd-devel] forking PIDFile question

2018-02-21 Thread steve
On Tuesday, 20 February 2018 08:32:45 GMT Mantas Mikulėnas wrote: > On Mon, Feb 19, 2018 at 11:29 PM, wrote: > > Hello, > > > > > > > > Sorry if this question is a bit basic for a devel list, I tried asking it > > in a ubuntu forum but didn't get any views, let alone replies.

Re: [systemd-devel] forking PIDFile question

2018-02-21 Thread steve
On Wednesday, 21 February 2018 06:31:23 GMT Jonathan de Boyne Pollard wrote: > st...@goodey.org: > > [Service] > > > > Type=forking > > Your program has an -f option to stop it from vainly trying to > re-daemonize itself. Use it; and do not use Type=forking in the first > place. > > * >

[systemd-devel] forking PIDFile question

2018-02-20 Thread Jonathan de Boyne Pollard
st...@goodey.org: [Service] Type=forking Your program has an -f option to stop it from vainly trying to re-daemonize itself. Use it; and do not use Type=forking in the first place. * http://jdebp.eu./FGA/unix-daemon-design-mistakes-to-avoid.html#DoNotBackgroundise The supplied

Re: [systemd-devel] forking PIDFile question

2018-02-19 Thread Mantas Mikulėnas
On Mon, Feb 19, 2018 at 11:29 PM, wrote: > Hello, > > > > Sorry if this question is a bit basic for a devel list, I tried asking it > in a ubuntu forum but didn't get any views, let alone replies. > > > > I have a PC running Mythbuntu which has an LCD which I had a bit of a >

Re: [systemd-devel] forking PIDFile question

2018-02-19 Thread Andrei Borzenkov
20.02.2018 00:29, st...@goodey.org пишет: > Hello, > > Sorry if this question is a bit basic for a devel list, I tried asking it in > a ubuntu forum but > didn't get any views, let alone replies. > > I have a PC running Mythbuntu which has an LCD which I had a bit of a > struggle getting >

[systemd-devel] forking PIDFile question

2018-02-19 Thread steve
Hello, Sorry if this question is a bit basic for a devel list, I tried asking it in a ubuntu forum but didn't get any views, let alone replies. I have a PC running Mythbuntu which has an LCD which I had a bit of a struggle getting going under systemd. However using Type=forking it is now