summaryrefslogtreecommitdiff
path: root/units/systemd-sysctl.service.in
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-30 23:08:15 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-30 23:08:15 +0200
commitadf70c5e4e6673353b8d702baee4e1d21eb05dfe (patch)
tree10681a46d779073e26624cf5297516667aacd3b1 /units/systemd-sysctl.service.in
parent223a35581604897185c46dfc184b0fa32916d59b (diff)
binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=
Diffstat (limited to 'units/systemd-sysctl.service.in')
-rw-r--r--units/systemd-sysctl.service.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in
index ea78230d7c..6d53422630 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