Re: nosh: service-control --exit

2017-01-20 Thread Guillermo
2016-12-31 20:26 GMT-03:00 Jonathan de Boyne Pollard:
>
> Guillermo:
>>
>> for some reason 'service-control --exit' doesn't unload a service that is
>> already in the 'stopped' state.
>
> I'll look into it for 1.31.  You won't see a fix in 1.30 because that is
> coming out ... well ... now.

Fixed in 1.31 :)

G.


Re: nosh: service-control --exit

2016-12-31 Thread Jonathan de Boyne Pollard

Guillermo:
for some reason 'service-control --exit' doesn't unload a service that 
is already in the 'stopped' state.


I'll look into it for 1.31.  You won't see a fix in 1.30 because that is 
coming out ... well ... now.




nosh: service-control --exit

2016-12-31 Thread Guillermo
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.