diff options
Diffstat (limited to 'binfmt-support.service')
-rw-r--r-- | binfmt-support.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/binfmt-support.service b/binfmt-support.service new file mode 100644 index 000000000000..b7035d853aec --- /dev/null +++ b/binfmt-support.service @@ -0,0 +1,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) |