chiark / gitweb /
cryptsetup: automatically order crypt partitions before cryptsetup.target
[elogind.git] / units / sysctl.service
index 72dbb1f56a3897e8a3df9b6367caed1719b60176..ba5626a3a86fb59d425cefe7a6469ec33c84252e 100644 (file)
@@ -10,9 +10,11 @@ Description=Apply Kernel Variables
 DefaultDependencies=no
 Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service
-Before=shutdown.target
+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