mirror of
https://github.com/systemd/systemd
synced 2024-07-22 02:34:54 +00:00
units: run sysctl only if /etc/sysctl.conf exists
This commit is contained in:
parent
9feeba4bbb
commit
c858849d45
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue