chiark / gitweb /
units: run sysctl stuff only when /proc/sys is actually writable, to quieten containe...
authorLennart Poettering <lennart@poettering.net>
Thu, 12 Apr 2012 00:41:02 +0000 (02:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 12 Apr 2012 10:58:19 +0000 (12:58 +0200)
units/systemd-sysctl.service.in

index 692fa3b8898e5fa52c38600df69ee79e44719a33..d38f026142c373475b96c3b63ef16f761e2fa68e 100644 (file)
@@ -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