mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08:00
dc16846c26
This is currently our only .automount unit. We wouldn't want to trigger it accidentally during shutdown, so let's stop it too.
22 lines
779 B
SYSTEMD
22 lines
779 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://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
|
DefaultDependencies=no
|
|
Before=sysinit.target
|
|
Conflicts=shutdown.target
|
|
ConditionPathExists=/proc/sys/fs/binfmt_misc/
|
|
ConditionPathIsReadWrite=/proc/sys/
|
|
|
|
[Automount]
|
|
Where=/proc/sys/fs/binfmt_misc
|