X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsysctl.service;h=ba5626a3a86fb59d425cefe7a6469ec33c84252e;hp=3980e242117fe9a15c4bdc3d55cc0d39c54c7d04;hb=2f8cd170aeb0d748f5af3cefb387d14f67fc286e;hpb=f3c15784a118757b2511cb73d8c5c84a14ab4bc2 diff --git a/units/sysctl.service b/units/sysctl.service index 3980e2421..ba5626a3a 100644 --- a/units/sysctl.service +++ b/units/sysctl.service @@ -11,8 +11,10 @@ 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 RemainAfterExit=yes ExecStart=/sbin/sysctl -e -q -p /etc/sysctl.conf +StandardOutput=syslog