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
|
2018-11-27 00:38:52 +08:00
|
|
|
Conflicts=shutdown.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
|
2021-05-16 17:55:36 +08:00
|
|
|
ExecStart={{ROOTLIBEXECDIR}}/systemd-fsck %f
|
2011-02-21 03:27:59 +08:00
|
|
|
TimeoutSec=0
|