mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Remove no longer necessary logic in the scheduler's entrypoint
This commit is contained in:
parent
f9ddf48cd3
commit
41d3e6889f
1 changed files with 0 additions and 11 deletions
|
|
@ -34,17 +34,6 @@ elif [[ $(echo "$AUTOCONF_MODE" | awk '{print tolower($0)}') == "yes" ]] ; then
|
|||
echo "Autoconf" > /usr/share/bunkerweb/INTEGRATION
|
||||
fi
|
||||
|
||||
if ! grep -q "Docker" /usr/share/bunkerweb/INTEGRATION ; then
|
||||
# Init database
|
||||
get_env > "/tmp/variables.env"
|
||||
/usr/share/bunkerweb/gen/save_config.py --variables /tmp/variables.env --init
|
||||
# shellcheck disable=SC2181
|
||||
if [ $? -ne 0 ] ; then
|
||||
log "ENTRYPOINT" "❌" "Scheduler generator failed"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# execute jobs
|
||||
log "ENTRYPOINT" "ℹ️ " "Executing scheduler ..."
|
||||
/usr/share/bunkerweb/scheduler/main.py &
|
||||
|
|
|
|||
Loading…
Reference in a new issue