]>
Commit | Line | Data |
---|---|---|
151b190e LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
4 | # under the terms of the GNU Lesser General Public License as published by |
5 | # the Free Software Foundation; either version 2.1 of the License, or | |
151b190e LP |
6 | # (at your option) any later version. |
7 | ||
8 | [Unit] | |
9 | Description=Set Up Additional Binary Formats | |
9393a877 | 10 | Documentation=man:systemd-binfmt.service(8) man:binfmt.d(5) |
49dbfa7b | 11 | Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt |
151b190e LP |
12 | DefaultDependencies=no |
13 | Conflicts=shutdown.target | |
d6bc8348 | 14 | After=proc-sys-fs-binfmt_misc.automount |
151b190e | 15 | Before=sysinit.target shutdown.target |
41807efb | 16 | ConditionPathIsReadWrite=/proc/sys/ |
9393a877 | 17 | ConditionDirectoryNotEmpty=|/lib/binfmt.d |
adf70c5e KS |
18 | ConditionDirectoryNotEmpty=|/usr/lib/binfmt.d |
19 | ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d | |
20 | ConditionDirectoryNotEmpty=|/etc/binfmt.d | |
21 | ConditionDirectoryNotEmpty=|/run/binfmt.d | |
151b190e LP |
22 | |
23 | [Service] | |
24 | Type=oneshot | |
25 | RemainAfterExit=yes | |
26 | ExecStart=@rootlibexecdir@/systemd-binfmt | |
b53374f9 | 27 | TimeoutSec=90s |