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=72dbb1f56a3897e8a3df9b6367caed1719b60176;hb=2f8cd170aeb0d748f5af3cefb387d14f67fc286e;hpb=4bb2357f77c875976de5e238a5783e4e136b37b5 diff --git a/units/sysctl.service b/units/sysctl.service index 72dbb1f56..ba5626a3a 100644 --- a/units/sysctl.service +++ b/units/sysctl.service @@ -10,9 +10,11 @@ Description=Apply Kernel Variables DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service -Before=shutdown.target +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