Start of systemd timers after install/update of a package

Matthew Miller mattdm at fedoraproject.org
Fri Jan 25 15:25:45 UTC 2013


On Fri, Jan 25, 2013 at 12:53:02AM +0100, Lennart Poettering wrote:
> c) Or you could list them as "Wants=" dependency in your service unit's
>    [Service] section. That means that whenever your service unit is
>    started, your time unit is too. No need for preset file changes.
> I think c) is the best choice if it makes little sense to ever run the
> service without the timer unit. It makes things very robust. 
> 

In this case, if the service is disabled ("masked", in the new terminology),
would the timer still run, or does an inverse relationship need to also be
spelled-out?

-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm at fedoraproject.org>


More information about the devel mailing list