chiark / gitweb /
console-getty.service: don't start when /dev/console is missing
[elogind.git] / units / systemd-sysctl.service.in
index d914553d2827f3a7a6d08d34715ed0c6a7344fb2..fa72085f9e98b1dd25e37dae1c56cd6bf2ba43af 100644 (file)
@@ -9,15 +9,10 @@
 Description=Apply Kernel Variables
 Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5)
 DefaultDependencies=no
-After=systemd-readahead-collect.service systemd-readahead-replay.service
+Conflicts=shutdown.target
+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
 
 [Service]
 Type=oneshot