mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
units: run sysctl only if /etc/sysctl.conf exists
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user