X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-sysctl.service.in;h=d38f026142c373475b96c3b63ef16f761e2fa68e;hb=f2a46f8da51aeab1a34dd250e8ac48f2465bf095;hp=692fa3b8898e5fa52c38600df69ee79e44719a33;hpb=d051610953754ce2b79d23b83c1d5c167defd5be;p=elogind.git diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index 692fa3b88..d38f02614 100644 --- a/units/systemd-sysctl.service.in +++ b/units/systemd-sysctl.service.in @@ -11,6 +11,7 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service Before=sysinit.target shutdown.target +ConditionPathIsReadWrite=/proc/sys/ ConditionPathExists=|/etc/sysctl.conf ConditionDirectoryNotEmpty=|/lib/sysctl.d ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d