2011-04-04 08:36:42 +07:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 05:20:58 +07: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 08:36:42 +07:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Set Up Additional Binary Formats
|
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
After=systemd-readahead-collect.service systemd-readahead-replay.service proc-sys-fs-binfmt_misc.automount
|
|
|
|
Before=sysinit.target shutdown.target
|
2012-04-13 22:39:37 +07:00
|
|
|
ConditionPathIsReadWrite=/proc/sys/
|
2011-05-01 04:08:15 +07:00
|
|
|
ConditionDirectoryNotEmpty=|/usr/lib/binfmt.d
|
|
|
|
ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d
|
|
|
|
ConditionDirectoryNotEmpty=|/etc/binfmt.d
|
|
|
|
ConditionDirectoryNotEmpty=|/run/binfmt.d
|
2011-04-04 08:36:42 +07:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-binfmt
|