7bd456ed7b
This adds the -systemd-nspawn keyword to service scripts which are not intended to run in systemd-nspawn containers. This fixes #52. X-Gentoo-Bug: 548058 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
21 lines
383 B
Plaintext
21 lines
383 B
Plaintext
#!@SBINDIR@/openrc-run
|
|
# Copyright 2015 William Hubbs <w.d.hubbs@gmail.com>
|
|
# Released under the 2-clause BSD license.
|
|
|
|
description="Register misc binary format handlers"
|
|
|
|
depend()
|
|
{
|
|
after procfs
|
|
use modules devfs
|
|
keyword -openvz -prefix -systemd-nspawn -vserver -lxc
|
|
}
|
|
|
|
start()
|
|
{
|
|
ebegin "Loading custom binary format handlers"
|
|
"$RC_LIBEXECDIR"/sh/binfmt.sh
|
|
eend $?
|
|
return 0
|
|
}
|