Re: [systemd-devel] oneshot & restart

2017-02-09 Thread Lennart Poettering
On Wed, 18.01.17 12:26, lejeczek (pelj...@yahoo.co.uk) wrote: > hi all > I'm reading man pages but cannot see whether there is a conflict there, > a unit: > > [Service] > Type=oneshot > RemainAfterExit=yes > TimeoutSec=0 > > $ systemctl edit > [Service] > Restart=on-failure > RestartSec=90 >

[systemd-devel] oneshot & restart

2017-01-18 Thread lejeczek
hi all I'm reading man pages but cannot see whether there is a conflict there, a unit: [Service] Type=oneshot RemainAfterExit=yes TimeoutSec=0 $ systemctl edit [Service] Restart=on-failure RestartSec=90 TimeoutSec=10 and I see: Loaded: error (Reason: Invalid argument) Drop-In: