X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-sysctl.service.in;h=d914553d2827f3a7a6d08d34715ed0c6a7344fb2;hp=692fa3b8898e5fa52c38600df69ee79e44719a33;hb=faeffa73a81ab5b59acfadeb571431fb0e42af70;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index 692fa3b88..d914553d2 100644 --- a/units/systemd-sysctl.service.in +++ b/units/systemd-sysctl.service.in @@ -7,10 +7,11 @@ [Unit] Description=Apply Kernel Variables +Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5) DefaultDependencies=no -Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service Before=sysinit.target shutdown.target +ConditionPathIsReadWrite=/proc/sys/ ConditionPathExists=|/etc/sysctl.conf ConditionDirectoryNotEmpty=|/lib/sysctl.d ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d