Updates and now enabled using daemon mode
This commit is contained in:
12
init
12
init
@@ -26,7 +26,11 @@ if [ -x /usr/sbin/zerotier-one -a -n "${ENABLE_ZT}" ]; then
|
||||
/usr/sbin/zerotier-one -d
|
||||
fi
|
||||
|
||||
# Start Supervisord
|
||||
/usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|
||||
|
||||
exec "$@"
|
||||
if [ -n "$1" ]; then
|
||||
echo "* Starting [$@]"
|
||||
exec "$@"
|
||||
else
|
||||
# Start Supervisord
|
||||
echo "* Starting supervisord"
|
||||
exec /usr/bin/supervisord -nc /etc/supervisor/supervisord.conf
|
||||
fi
|
||||
|
Reference in New Issue
Block a user