From adf70c5e4e6673353b8d702baee4e1d21eb05dfe Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 30 Apr 2011 23:08:15 +0200 Subject: binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty= --- units/systemd-sysctl.service.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'units/systemd-sysctl.service.in') 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 -- cgit v1.2.3-54-g00ecf