2011-04-04 01:36:42 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00:00
|
|
|
# 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
|
2011-04-04 01:36:42 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Set Up Additional Binary Formats
|
2012-05-31 14:00:34 +00:00
|
|
|
Documentation=man:systemd-binfmt.service(8) man:binfmt.d(5)
|
2012-05-21 13:12:18 +00:00
|
|
|
Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt
|
2011-04-04 01:36:42 +00:00
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
2014-08-26 19:17:22 +00:00
|
|
|
After=proc-sys-fs-binfmt_misc.automount
|
2011-04-04 01:36:42 +00:00
|
|
|
Before=sysinit.target shutdown.target
|
2012-04-13 15:39:37 +00:00
|
|
|
ConditionPathIsReadWrite=/proc/sys/
|
2012-05-31 14:00:34 +00:00
|
|
|
ConditionDirectoryNotEmpty=|/lib/binfmt.d
|
2011-04-30 21:08:15 +00:00
|
|
|
ConditionDirectoryNotEmpty=|/usr/lib/binfmt.d
|
|
|
|
ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d
|
|
|
|
ConditionDirectoryNotEmpty=|/etc/binfmt.d
|
|
|
|
ConditionDirectoryNotEmpty=|/run/binfmt.d
|
2011-04-04 01:36:42 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-binfmt
|
2015-04-17 01:41:18 +00:00
|
|
|
TimeoutSec=90s
|