chiark / gitweb /
build-sys: perform autodetection of quota-tools binaries
[elogind.git] / units / quotaon.service.in
similarity index 90%
rename from units/quotaon.service
rename to units/quotaon.service.in
index caaf12d9f74e92b670baaf4d9a5b697e23546305..49a50a7feb39f6947ad5bb39d56d74c050ed1c84 100644 (file)
@@ -11,9 +11,9 @@ Documentation=man:quotaon(8)
 DefaultDependencies=no
 After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-quotacheck.service
 Before=local-fs.target shutdown.target
-ConditionPathExists=/sbin/quotaon
+ConditionPathExists=@QUOTAON@
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStart=/sbin/quotaon -aug
+ExecStart=@QUOTAON@ -aug