2022-10-17 04:45:17 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
#
|
|
|
|
# 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=Grow File System on %f
|
|
|
|
Documentation=man:systemd-growfs@.service(8)
|
2022-09-15 21:54:18 +08:00
|
|
|
|
2022-10-17 04:45:17 +08:00
|
|
|
DefaultDependencies=no
|
|
|
|
BindsTo=%i.mount
|
|
|
|
After=systemd-repart.service %i.mount
|
2022-09-15 21:54:18 +08:00
|
|
|
Conflicts=shutdown.target
|
2022-10-17 04:45:17 +08:00
|
|
|
Before=shutdown.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2023-06-12 09:15:19 +08:00
|
|
|
ExecStart={{LIBEXECDIR}}/systemd-growfs %f
|
2023-06-06 15:29:51 +08:00
|
|
|
TimeoutSec=infinity
|