chiark / gitweb /
units: ignore systemd-sysctl on shutdown
[elogind.git] / units / systemd-sysctl.service.in
index 692fa3b8898e5fa52c38600df69ee79e44719a33..d914553d2827f3a7a6d08d34715ed0c6a7344fb2 100644 (file)
@@ -7,10 +7,11 @@
 
 [Unit]
 Description=Apply Kernel Variables
+Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5)
 DefaultDependencies=no
-Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service
 Before=sysinit.target shutdown.target
+ConditionPathIsReadWrite=/proc/sys/
 ConditionPathExists=|/etc/sysctl.conf
 ConditionDirectoryNotEmpty=|/lib/sysctl.d
 ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d