chiark / gitweb /
kmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and replaced by...
[elogind.git] / units / systemd-sysctl.service.in
index af3ba88e2961762eed8fca2fd4f288f5af4eacdf..6d53422630adbd22a2431dcaf0d9d5f860a78777 100644 (file)
@@ -10,9 +10,13 @@ Description=Apply Kernel Variables
 DefaultDependencies=no
 Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service
-Before=basic.target shutdown.target
-ConditionPathExists=/etc/sysctl.conf
-ConditionDirectoryNotEmpty=/etc/sysctl.d
+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
 
 [Service]
 Type=oneshot