On Monday 06 July 2015 04:55 PM, Michael Biebl wrote:
> Please be aware that
> systemctl reload foo.service only has an affect on already running
> services. So if foo.service is inactive. You'll get an error otherwise:
> 
> root@pluto:~# systemctl is-active avahi-daemon.service
> inactive
> root@pluto:~# systemctl reload avahi-daemon.service
> Job for avahi-daemon.service invalid.
> root@pluto:~# echo $?
> 1
> 
> Not sure if this is the behaviour you want to have.
> There are other commands like reload-or-restart [1].


This is just awesome.

Since LMT has a udev rule, it does get matching events, and thus gets
triggered early during boot.

With reload-or-restart, it just fits my use case.


Thank you.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to