From: Lennart Poettering Date: Thu, 28 Oct 2010 20:12:05 +0000 (+0200) Subject: units: run sysctl only if /etc/sysctl.conf exists X-Git-Tag: v12~118 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=c858849d45ff94d66c79a414b6a2ef9db1fe1979 units: run sysctl only if /etc/sysctl.conf exists --- diff --git a/units/sysctl.service b/units/sysctl.service index afde58055..ba5626a3a 100644 --- a/units/sysctl.service +++ b/units/sysctl.service @@ -11,6 +11,7 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service Before=basic.target shutdown.target +ConditionPathExists=/etc/sysctl.conf [Service] Type=oneshot