mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
![Zbigniew Jędrzejewski-Szmek](/assets/img/avatar_default.png)
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
|