mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-24 02:03:54 +03:00
units: don't conditionalize sysctl service
We install two sysctl snippets ourselves, hence the condition will always trigger, so no point in tryng to optimize things with this, it just will make things slower, if anything.
This commit is contained in:
parent
db62b5b37e
commit
d4c049bfcd
@ -13,11 +13,6 @@ Conflicts=shutdown.target
|
|||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
||||||
Before=sysinit.target shutdown.target
|
Before=sysinit.target shutdown.target
|
||||||
ConditionPathIsReadWrite=/proc/sys/
|
ConditionPathIsReadWrite=/proc/sys/
|
||||||
ConditionDirectoryNotEmpty=|/lib/sysctl.d
|
|
||||||
ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d
|
|
||||||
ConditionDirectoryNotEmpty=|/usr/local/lib/sysctl.d
|
|
||||||
ConditionDirectoryNotEmpty=|/etc/sysctl.d
|
|
||||||
ConditionDirectoryNotEmpty=|/run/sysctl.d
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user