Fix manager and shm mount fstype
This commit is contained in:
parent
c55bb36454
commit
fc6a3ac30f
@ -3,7 +3,7 @@
|
||||
. ../../APKBUILD.template
|
||||
|
||||
pkgname=nnd-s6-services
|
||||
pkgver=1.17
|
||||
pkgver=1.19
|
||||
pkgrel=0
|
||||
pkgdesc="Base services for s6"
|
||||
depends="s6-rc s6-portable-utils s6-linux-utils"
|
||||
|
@ -66,15 +66,16 @@ distdefs() {
|
||||
|
||||
custom() {
|
||||
local SVC="$1"
|
||||
[ -e "$S6_RC_PATH/$SVC" ] || error "Service $SVC doesn't exist"
|
||||
[ -h "$S6_RC_PATH/$SVC" ] || error "Service $SVC is already a custom instance"
|
||||
rm -rf "$S6_RC_PATH/$SVC"
|
||||
cp -r "$S6_DIST_PATH/rc/$SVC" "$S6_RC_PATH/$SVC"
|
||||
}
|
||||
|
||||
for act in $@; do
|
||||
cstate
|
||||
case "$act" in
|
||||
generate|update|swap|dist) eval "$act" || return;;
|
||||
*) error "Invalid action $act";;
|
||||
esac
|
||||
done
|
||||
cmd="$1"
|
||||
shift
|
||||
cstate
|
||||
case "$cmd" in
|
||||
generate|update|swap|dist|custom) eval "$cmd" $@;;
|
||||
*) error "Invalid command $cmd";;
|
||||
esac
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/execlineb -P
|
||||
define DEST /dev/shm
|
||||
define CLEANDEST dev-shm
|
||||
define FSTYPE shm
|
||||
define FSTYPE tmpfs
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
|
Loading…
Reference in New Issue
Block a user