mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-27 13:57:26 +03: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…
x
Reference in New Issue
Block a user