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=ea78230d7c0d04a123ec792840dad65985db1484;hb=7948c4dfbea73ac21250b588089039aa17a90386;hpb=267632f0ab26bbcec6bc93682cf43d0f983c41d8 diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index ea78230d7..6d5342263 100644 --- a/units/systemd-sysctl.service.in +++ b/units/systemd-sysctl.service.in @@ -12,7 +12,11 @@ Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.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 [Service] Type=oneshot