X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-sysctl.service.in;h=ade9dc300714f5d67d9c62f20a20170fb7f620aa;hb=5261ba901845c084de5a8fd06500ed09bfb0bd80;hp=692fa3b8898e5fa52c38600df69ee79e44719a33;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index 692fa3b88..ade9dc300 100644 --- a/units/systemd-sysctl.service.in +++ b/units/systemd-sysctl.service.in @@ -7,16 +7,13 @@ [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 +After=systemd-modules-load.service Before=sysinit.target shutdown.target -ConditionPathExists=|/etc/sysctl.conf -ConditionDirectoryNotEmpty=|/lib/sysctl.d -ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d -ConditionDirectoryNotEmpty=|/usr/local/lib/sysctl.d -ConditionDirectoryNotEmpty=|/etc/sysctl.d -ConditionDirectoryNotEmpty=|/run/sysctl.d +ConditionPathIsReadWrite=/proc/sys/ [Service] Type=oneshot