2020-11-09 12:23:58 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-19 00:35:03 +08:00
|
|
|
#
|
2010-10-20 06:13:23 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08:00
|
|
|
# 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 06:13:23 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2010-10-20 22:16:45 +08:00
|
|
|
Description=File System Check on %f
|
2012-06-27 17:51:38 +08:00
|
|
|
Documentation=man:systemd-fsck@.service(8)
|
2010-10-20 06:13:23 +08:00
|
|
|
DefaultDependencies=no
|
2012-07-14 05:34:40 +08:00
|
|
|
BindsTo=%i.device
|
2024-07-08 23:23:06 +08:00
|
|
|
IgnoreOnIsolate=yes
|
|
|
|
Conflicts=reboot.target kexec.target poweroff.target halt.target
|
2015-04-28 23:13:23 +08:00
|
|
|
After=%i.device systemd-fsck-root.service local-fs-pre.target
|
2016-05-10 20:10:17 +08:00
|
|
|
Before=systemd-quotacheck.service shutdown.target
|
2010-10-20 06:13:23 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2013-08-16 03:07:57 +08:00
|
|
|
RemainAfterExit=yes
|
2023-06-12 09:15:19 +08:00
|
|
|
ExecStart={{LIBEXECDIR}}/systemd-fsck %f
|
2023-06-06 15:29:51 +08:00
|
|
|
TimeoutSec=infinity
|