chiark / gitweb /
cryptsetup: automatically order crypt partitions before cryptsetup.target
[elogind.git] / units / sysctl.service
index 3186cc0f63b22e21066df3f12af5cb4f52962b25..ba5626a3a86fb59d425cefe7a6469ec33c84252e 100644 (file)
@@ -9,12 +9,12 @@
 Description=Apply Kernel Variables
 DefaultDependencies=no
 Conflicts=shutdown.target
-Before=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=basic.target shutdown.target
+ConditionPathExists=/etc/sysctl.conf
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
 ExecStart=/sbin/sysctl -e -q -p /etc/sysctl.conf
-
-[Install]
-WantedBy=sysinit.target
+StandardOutput=syslog