]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-binfmt.service.in
test: Disable LUKS devices from initramfs in QEMU tests
[thirdparty/systemd.git] / units / systemd-binfmt.service.in
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # This file is part of systemd.
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
9
10 [Unit]
11 Description=Set Up Additional Binary Formats
12 Documentation=man:systemd-binfmt.service(8) man:binfmt.d(5)
13 Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
14 Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
15 DefaultDependencies=no
16 Conflicts=shutdown.target
17 After=proc-sys-fs-binfmt_misc.automount
18 After=proc-sys-fs-binfmt_misc.mount
19 Before=sysinit.target shutdown.target
20 ConditionPathIsReadWrite=/proc/sys/
21 ConditionDirectoryNotEmpty=|/lib/binfmt.d
22 ConditionDirectoryNotEmpty=|/usr/lib/binfmt.d
23 ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d
24 ConditionDirectoryNotEmpty=|/etc/binfmt.d
25 ConditionDirectoryNotEmpty=|/run/binfmt.d
26
27 [Service]
28 Type=oneshot
29 RemainAfterExit=yes
30 ExecStart=@rootlibexecdir@/systemd-binfmt
31 TimeoutSec=90s