X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-sysctl.service.in;h=6d53422630adbd22a2431dcaf0d9d5f860a78777;hp=af3ba88e2961762eed8fca2fd4f288f5af4eacdf;hb=4c12626c8e3491570b395d68380543e10c98ad33;hpb=8e1bd70d4ce6d3881c1df6a6482643a2b3a69bb1 diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index af3ba88e2..6d5342263 100644 --- a/units/systemd-sysctl.service.in +++ b/units/systemd-sysctl.service.in @@ -10,9 +10,13 @@ Description=Apply Kernel Variables DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service -Before=basic.target shutdown.target -ConditionPathExists=/etc/sysctl.conf -ConditionDirectoryNotEmpty=/etc/sysctl.d +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 [Service] Type=oneshot