chiark / gitweb /
cryptsetup: automatically order crypt partitions before cryptsetup.target
[elogind.git] / units / sysctl.service
index 2464a079186b94a22a7cea3cf021e733035c2dd6..ba5626a3a86fb59d425cefe7a6469ec33c84252e 100644 (file)
@@ -9,9 +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
+StandardOutput=syslog