From c858849d45ff94d66c79a414b6a2ef9db1fe1979 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 28 Oct 2010 22:12:05 +0200 Subject: [PATCH] units: run sysctl only if /etc/sysctl.conf exists --- units/sysctl.service | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2