fix: 1032 docker autostart issue
parent
ebbe01c65d
commit
e9672c2c3e
|
|
@ -221,6 +221,9 @@ set_envvars() {
|
|||
start_and_monitor() {
|
||||
printf "\n---------------------- STARTING CORE -----------------------\n"
|
||||
|
||||
# Regenerate the resolvconf
|
||||
/usr/sbin/resolvconf -u
|
||||
|
||||
# Due to some instances complaining about this, making sure its there every time.
|
||||
mkdir -p /dev/net
|
||||
mknod /dev/net/tun c 10 200
|
||||
|
|
@ -234,8 +237,6 @@ start_and_monitor() {
|
|||
|
||||
${WGDASH}/src/venv/bin/gunicorn --config ${WGDASH}/src/gunicorn.conf.py
|
||||
|
||||
/usr/sbin/resolvconf -u
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Loading WGDashboard failed... Look above for details."
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue