From cc4e4df49fe38e076c74b652f7e01b6c54004cab Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 8 Apr 2016 19:00:00 +0200 Subject: man: clarify that DefaultDependencies= is in the [Unit] section This hopefully reduces confusion resulting in issues like #2992. --- man/systemd.timer.xml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'man/systemd.timer.xml') diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml index 29e235e2dc..22c83f790f 100644 --- a/man/systemd.timer.xml +++ b/man/systemd.timer.xml @@ -81,21 +81,15 @@ Timer units automatically gain a Before= dependency on the service they are supposed to activate. - Unless DefaultDependencies= is set to - , all timer units will implicitly have - dependencies of type Requires= and - After= on sysinit.target, - a dependency of type Before= on - timers.target, as well as - Conflicts= and Before= on - shutdown.target to ensure that they are - stopped cleanly prior to system shutdown. Timer units with at - least one OnCalendar= directive will have an - additional After= dependency on - timer-sync.target to avoid being started - before the system clock has been correctly set. Only timer units - involved with early boot or late system shutdown should disable - the DefaultDependencies= option. + Unless DefaultDependencies= in the [Unit] section is set to + , all timer units will implicitly have dependencies of type Requires= and + After= on sysinit.target, a dependency of type Before= + on timers.target, as well as Conflicts= and Before= on + shutdown.target to ensure that they are stopped cleanly prior to system shutdown. Timer units + with at least one OnCalendar= directive will have an additional After= + dependency on timer-sync.target to avoid being started before the system clock has been + correctly set. Only timer units involved with early boot or late system shutdown should disable the + DefaultDependencies= option. -- cgit v1.2.3-54-g00ecf