chiark / gitweb /
quota: add install hooks for basic.target
[elogind.git] / units / quotaon.service
index 60f6be6441fe30dc4d816f0306b02c737ee2330f..1c4a0cd3bbd0ef52fdac8336c78d58a8adc78960 100644 (file)
@@ -10,9 +10,12 @@ Description=Quota Check
 DefaultDependencies=no
 After=systemd-readahead-collect.service systemd-readahead-replay.service quotacheck.service
 Before=local-fs.target shutdown.target
-ConditionFileExists=/sbin/quotaon
+ConditionPathExists=/sbin/quotaon
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
 ExecStart=/sbin/quotaon -anug
+
+[Install]
+WantedBy=basic.target