diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-09-02 17:28:30 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-11 01:43:48 +0200 |
commit | b51fc639f01ee6194af3e7e944a79accce474fe1 (patch) | |
tree | 66eecc6fd27a771a9d85cd79c5e05490de88df76 /units/quotaon.service.in | |
parent | 742a862bb803641b78a40f6b498486397a321294 (diff) |
build-sys: perform autodetection of quota-tools binaries
Use AC_PATH_PROG to try and locate the quotaon and quotacheck binaries,
falling back on hardcoded defaults when they can't be found.
Diffstat (limited to 'units/quotaon.service.in')
-rw-r--r-- | units/quotaon.service.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/units/quotaon.service.in b/units/quotaon.service.in new file mode 100644 index 0000000000..49a50a7feb --- /dev/null +++ b/units/quotaon.service.in @@ -0,0 +1,19 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Enable File System Quotas +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=@QUOTAON@ + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=@QUOTAON@ -aug |