summarylogtreecommitdiffstats
path: root/binfmt-support.service
blob: b7035d853aecae9f4222191b1bbb2ab558524491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Enable support for additional binary formats. Java, python, etc.
Documentation=man:update-binfmts(8)

[Service]
Type=oneshot
ExecStart=/usr/bin/update-binfmts --enable
ExecStop=/usr/bin/update-binfmts --disable
KillMode=process
Restart=no
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

# This service file writes "enabled" to /proc/sys/fs/binfmt_misc/status,
# and registers all binfmt specifications in /var/lib/binfmts (default)