mirror of
https://github.com/systemd/systemd.git
synced 2024-12-04 15:53:41 +08:00
b93562a1a1
As with other units, stopping of the automount requires actual work, and without the ordering dependency systemd might not execute the stop job before shutdown.target is reached and units ordered after that are executed.
25 lines
789 B
SYSTEMD
25 lines
789 B
SYSTEMD
# 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=Arbitrary Executable File Formats File System Automount Point
|
|
Documentation=https://docs.kernel.org/admin-guide/binfmt-misc.html
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
|
|
|
ConditionPathExists=/proc/sys/fs/binfmt_misc/
|
|
ConditionPathIsReadWrite=/proc/sys/
|
|
|
|
DefaultDependencies=no
|
|
Before=sysinit.target
|
|
Conflicts=shutdown.target
|
|
Before=shutdown.target
|
|
|
|
[Automount]
|
|
Where=/proc/sys/fs/binfmt_misc
|