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