chiark / gitweb /
udev: event - move renaming of udev_device to libudev
[elogind.git] / units / systemd-sysctl.service.in
index 692fa3b8898e5fa52c38600df69ee79e44719a33..fa72085f9e98b1dd25e37dae1c56cd6bf2ba43af 100644 (file)
@@ -7,16 +7,12 @@
 
 [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
+After=systemd-modules-load.service
 Before=sysinit.target shutdown.target
-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/
 
 [Service]
 Type=oneshot