diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-04-12 02:41:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-04-12 12:58:19 +0200 |
commit | f2a46f8da51aeab1a34dd250e8ac48f2465bf095 (patch) | |
tree | 0c0ec89d1cb8886a5ecadc85d3a5ad883a7738be /units | |
parent | d051610953754ce2b79d23b83c1d5c167defd5be (diff) | |
download | systemd-f2a46f8da51aeab1a34dd250e8ac48f2465bf095.tar.gz |
units: run sysctl stuff only when /proc/sys is actually writable, to quieten container boots a little
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-sysctl.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index 692fa3b889..d38f026142 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 |