Re: [systemd-devel] Unexpected behaviour not noticed by systemctl command

2019-10-31 Thread Lennart Poettering
On Mo, 07.10.19 11:43, Andy Pieters (syst...@andypieters.me.uk) wrote: > Hi guys > > Just lately ran into a fumble. I was trying to stop and disable a > service and I typed in: > > systemctl stop --now example.service > > The service duly stopped but wasn't disabled because the --now switch > is o

[systemd-devel] Unexpected behaviour not noticed by systemctl command

2019-10-07 Thread Maksim Fomin
‐‐‐ Original Message ‐‐‐ On Monday, 7 October 2019 г., 13:48, Reindl Harald wrote: > > > Am 07.10.19 um 12:43 schrieb Andy Pieters: > > > Just lately ran into a fumble. I was trying to stop and disable a > > service and I typed in: > > systemctl stop --now example.service > > but noweher

Re: [systemd-devel] Unexpected behaviour not noticed by systemctl command

2019-10-07 Thread Andy Pieters
On Mon, 7 Oct 2019 at 11:48, Reindl Harald wrote: > > > > Am 07.10.19 um 12:43 schrieb Andy Pieters: > > Just lately ran into a fumble. I was trying to stop and disable a > > service and I typed in: > > > > systemctl stop --now example.service > > but nowehere "disable" is statet with that command

Re: [systemd-devel] Unexpected behaviour not noticed by systemctl command

2019-10-07 Thread Reindl Harald
Am 07.10.19 um 12:43 schrieb Andy Pieters: > Just lately ran into a fumble. I was trying to stop and disable a > service and I typed in: > > systemctl stop --now example.service but nowehere "disable" is statet with that command > The service duly stopped but wasn't disabled because the --now

[systemd-devel] Unexpected behaviour not noticed by systemctl command

2019-10-07 Thread Andy Pieters
Hi guys Just lately ran into a fumble. I was trying to stop and disable a service and I typed in: systemctl stop --now example.service The service duly stopped but wasn't disabled because the --now switch is only applicable on the disable/enable/mask commands However, shouldn't it be good pract