Bug#739085: systemd: run update-binfmts --disable via ExecStop=
Colin Watson
cjwatson at debian.org
Sun Feb 21 13:08:47 GMT 2016
Control: tag -1 fixed-upstream
On Mon, Feb 17, 2014 at 03:01:45PM +0100, Michael Biebl wrote:
> Untested:
>
> [Unit]
> Description=Enable support for additional executable binary formats
> Documentation=man:update-binfmts(8)
> DefaultDependencies=no
> After=local-fs.target proc-sys-fs-binfmt_misc.automount
>
> [Service]
> Type=oneshot
> RemainAfterExit=yes
> ExecStart=/usr/sbin/update-binfmts --enable
> ExecStop=/usr/sbin/update-binfmts --disable
> Restart=no
>
> [Install]
> WantedBy=multi-user.target
Thanks, and sorry for the long delay. This approach seems to work well
in my testing, so I've committed it upstream for 2.1.6.
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-systemd-maintainers
mailing list