1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
systemd/units/quotaon@.service.in

27 lines
696 B
SYSTEMD
Raw Normal View History

# SPDX-License-Identifier: LGPL-2.1-or-later
2017-11-18 19:35:03 +03:00
#
2010-10-20 02:13:23 +04:00
# 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
2010-10-20 02:13:23 +04:00
# (at your option) any later version.
[Unit]
2010-10-29 07:18:22 +04:00
Description=Enable File System Quotas
Documentation=man:quotaon(8)
ConditionPathExists={{QUOTAON}}
ConditionPathExists=!/etc/initrd-release
2010-10-20 02:13:23 +04:00
DefaultDependencies=no
BindsTo=%i.mount
After=systemd-quotacheck@%i.service %i.mount
Before=shutdown.target
Conflicts=shutdown.target
2010-10-20 02:13:23 +04:00
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart={{QUOTAON}} -ug %f