X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fquotacheck.service.in;fp=units%2Fquotacheck.service.in;h=9c8d7c8f0b48c9af5cf4b0e5c1386844ea4f4acc;hb=335aa753fa60ba0bb3c9fe679c761d5f1f3b1588;hp=0000000000000000000000000000000000000000;hpb=6e8ebcc7de321bac0ba494365a85a19040654405;p=elogind.git diff --git a/units/quotacheck.service.in b/units/quotacheck.service.in new file mode 100644 index 000000000..9c8d7c8f0 --- /dev/null +++ b/units/quotacheck.service.in @@ -0,0 +1,18 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +[Unit] +Description=Quota Check +DefaultDependencies=no +After=systemd-readahead-collect.service systemd-readahead-replay.service +Before=local-fs.target shutdown.target +ConditionFileExists=/sbin/quotacheck + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=@rootlibexecdir@/systemd-quotacheck