units: run sysctl only if /etc/sysctl.conf exists

This commit is contained in:
Lennart Poettering 2010-10-28 22:12:05 +02:00
parent 9feeba4bbb
commit c858849d45

View file

@ -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