fix: 1032 docker autostart issue

pull/1053/head
Daan Selen 2025-12-30 17:54:22 +01:00
parent ebbe01c65d
commit e9672c2c3e
1 changed files with 3 additions and 2 deletions

View File

@ -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