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.service.xml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'man/systemd.service.xml') diff --git a/man/systemd.service.xml b/man/systemd.service.xml index e55534700a..6641dfed4f 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -100,18 +100,13 @@ their activated .socket units via an automatic After= dependency. - Unless DefaultDependencies= is set to - , service units will implicitly have - dependencies of type Requires= and - After= on sysinit.target, - a dependency of type After= on - basic.target as well as dependencies of - type Conflicts= and Before= - on shutdown.target. These ensure that normal - service units pull in basic system initialization, and are - terminated cleanly prior to system shutdown. Only services - involved with early boot or late system shutdown should disable - this option. + Unless DefaultDependencies= in the [Unit] is set to + , service units will implicitly have dependencies of type Requires= and + After= on sysinit.target, a dependency of type After= on + basic.target as well as dependencies of type Conflicts= and + Before= on shutdown.target. These ensure that normal service units pull in + basic system initialization, and are terminated cleanly prior to system shutdown. Only services involved with early + boot or late system shutdown should disable this option. Instanced service units (i.e. service units with an @ in their name) are assigned by default a per-template slice unit (see -- cgit v1.2.3-54-g00ecf