mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-20 19:59:11 +02:00
4
debian/scripts/iobroker_startup.sh
vendored
4
debian/scripts/iobroker_startup.sh
vendored
@@ -303,8 +303,8 @@ else
|
||||
stop_on_error
|
||||
fi
|
||||
|
||||
# if restored a fresh install, runing "iob setup first" for database init, otherwise check database connection
|
||||
if [[ -f /opt/iobroker/.fresh_install ]]; then
|
||||
# if restored a fresh install, running "iob setup first" for database init (but not on slaves!), otherwise check database connection
|
||||
if [[ -f /opt/iobroker/.fresh_install && "$multihost" != "slave" ]]; then
|
||||
echo -n "Initializing a fresh installation of ioBroker... "
|
||||
set +e
|
||||
bash iob setup first > /opt/iobroker/log/iob_setup_first.log 2>&1
|
||||
|
||||
Reference in New Issue
Block a user