nosh: service-control --exit

From: Guillermo <gdiazhartusch_at_gmail.com>
Date: Sat, 31 Dec 2016 16:12:14 -0300

Hello,

2016-08-06 14:30 GMT-03:00 Jonathan de Boyne Pollard:
>
> svc -x
> ======
>
> The -x option to service-control, a.k.a. svc, is no longer defunct. It does
> what unload-when-stopped does.

There is a minor difference: for some reason 'service-control --exit'
doesn't unload a service that is already in the 'stopped' state. It
will be unloaded if it is later started and then stopped. In contrast,
'system-control unload-when-stopped' unloads a stopped service
immediately (which IMO is the desirable effect).

Thanks,
G.
Received on Sat Dec 31 2016 - 19:12:14 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC