summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--units/sysctl.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/sysctl.service b/units/sysctl.service
index afde58055b..ba5626a3a8 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