Add lxd service and remove apparmor module as it doesn't make sense to late-load it

This commit is contained in:
Alex D. 2023-02-03 18:56:03 +00:00
parent 8b22782c35
commit 475c6042a3
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
15 changed files with 18 additions and 10 deletions

View File

@ -3,7 +3,7 @@
. ../../APKBUILD.template
pkgname=nnd-s6-services
pkgver=2.8
pkgver=2.9
pkgrel=0
pkgdesc="Base services for s6"
depends="s6-rc s6-portable-utils s6-linux-utils"

View File

@ -0,0 +1 @@
lxd

View File

@ -0,0 +1 @@
3

View File

@ -0,0 +1,4 @@
#!/bin/execlineb -P
export NAME lxd
/usr/libexec/nnd/s6/logger

View File

@ -0,0 +1 @@
longrun

View File

@ -0,0 +1 @@
logger.lxd

View File

@ -0,0 +1,8 @@
#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/path
emptyenv -p
# Log everything to stdout
fdmove -c 2 1
lxd -v

View File

@ -0,0 +1 @@
longrun

View File

@ -1,4 +0,0 @@
#!/bin/execlineb -P
export MODULE apparmor
/usr/libexec/nnd/s6/rmmod

View File

@ -1 +0,0 @@
oneshot

View File

@ -1,4 +0,0 @@
#!/bin/execlineb -P
export MODULE apparmor
/usr/libexec/nnd/s6/modprobe