summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service')
-rw-r--r--core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service11
1 files changed, 3 insertions, 8 deletions
diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service
index 46e2475e..1a150fd6 100644
--- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service
+++ b/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service
@@ -10,17 +10,12 @@ Description=Apply Kernel Variables
Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5)
DefaultDependencies=no
Conflicts=shutdown.target
-After=
+After=systemd-modules-load.service
Before=sysinit.target shutdown.target
-ConditionPathIsReadWrite=/proc/sys/
-ConditionPathExists=|/etc/sysctl.conf
-ConditionDirectoryNotEmpty=|/lib/sysctl.d
-ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d
-ConditionDirectoryNotEmpty=|/usr/local/lib/sysctl.d
-ConditionDirectoryNotEmpty=|/etc/sysctl.d
-ConditionDirectoryNotEmpty=|/run/sysctl.d
+ConditionPathIsReadWrite=/proc/sys/net/
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-sysctl
+TimeoutSec=90s