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=6d53422630adbd22a2431dcaf0d9d5f860a78777;hp=ada447885fe72f2cf94f4f9adc3f666b23157bee;hb=4c0bebc335c279ecaea6fc0eb0acaa8c49c477b6;hpb=e096bf2f95c1cb553bb6f3ea370d450397e441e6 diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index ada447885..6d5342263 100644 --- a/units/systemd-sysctl.service.in +++ b/units/systemd-sysctl.service.in @@ -11,8 +11,12 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service Before=sysinit.target shutdown.target -ConditionPathExists=/etc/sysctl.conf -ConditionDirectoryNotEmpty=/etc/sysctl.d +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