Auto run doorparty.sh on container start
This commit is contained in:
parent
e2c81af094
commit
ba0b285a8f
@ -5,7 +5,6 @@ GID=1000
|
||||
USERS=${SBBSCTRL}/doorparty-connector.users
|
||||
|
||||
if ! grep -qe ^${GROUP}: /etc/group; then
|
||||
echo true
|
||||
groupadd -g ${GID} ${GROUP}
|
||||
fi
|
||||
|
||||
|
4
init
4
init
@ -21,6 +21,10 @@ if [ ! -e "${SBBSCTRL}/../text/answer.msg" ]; then
|
||||
cp -Ras ${SBBSCTRL}/../text.orig/* ${SBBSCTRL}/../text/
|
||||
fi
|
||||
|
||||
if [ -r ${SBBSCTRL}/doorparty-connector.users ]; then
|
||||
${SBBSCTRL}../exec/doorparty.sh
|
||||
fi
|
||||
|
||||
if [ -x /usr/sbin/zerotier-one -a -n "${ENABLE_ZT}" ]; then
|
||||
echo "* Starting ZeroTier"
|
||||
mkdir /dev/net && mknod /dev/net/tun -m 666 c 10 200
|
||||
|
Loading…
Reference in New Issue
Block a user