]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/service.c
unit: add DefaultDependencies= setting
authorLennart Poettering <lennart@poettering.net>
Sat, 3 Jul 2010 17:48:33 +0000 (19:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 3 Jul 2010 17:48:33 +0000 (19:48 +0200)
commita40eb73224e237f758d38847ae216c019425ebac
treedc95aa3e1800bb44f43393341acb469863483036
parent2c966c038dc32ef39baa176371395cde4e541d01
unit: add DefaultDependencies= setting

In order to simplify writing of unit files introduce default
dependencies that are added to all units unless explictly disabled in a
unit. This option can be switched off for select units that are involved
in early boot-up ot late system shutdown,

This should simplify service files for most normal daemons, but breaks
existing service files for software involved in early boot (notably
udev), which need to be updated for a DefaultDependencies=no setting)
src/load-fragment.c
src/path.c
src/service.c
src/socket.c
src/special.h
src/target.c
src/timer.c
src/unit.c
src/unit.h