chiark / gitweb /
quota: enable quotaon/quotacheck in local-fs.target, not basic.target
[elogind.git] / units / quotacheck.service.in
index 9c8d7c8f0b48c9af5cf4b0e5c1386844ea4f4acc..f2f1a71530b881dd286e19613ad30d026d7f72ad 100644 (file)
@@ -10,9 +10,12 @@ Description=Quota Check
 DefaultDependencies=no
 After=systemd-readahead-collect.service systemd-readahead-replay.service
 Before=local-fs.target shutdown.target
-ConditionFileExists=/sbin/quotacheck
+ConditionPathExists=/sbin/quotacheck
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-quotacheck
+
+[Install]
+WantedBy=local-fs.target