mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-17 10:29:00 +02:00
backitup restore patch
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### v7.0.1-beta.1 (05.07.2022)
|
||||||
|
* backitup restore patch
|
||||||
|
|
||||||
### v7.0.0 (21.06.2022)
|
### v7.0.0 (21.06.2022)
|
||||||
* update docs & ci
|
* update docs & ci
|
||||||
* v7.0.0-beta.1 (16.06.2022)
|
* v7.0.0-beta.1 (16.06.2022)
|
||||||
|
|||||||
5
debian/scripts/maintenance.sh
vendored
5
debian/scripts/maintenance.sh
vendored
@@ -54,13 +54,16 @@ enable_maintenance() {
|
|||||||
|
|
||||||
if [[ "$killbyname" == yes ]]; then
|
if [[ "$killbyname" == yes ]]; then
|
||||||
# undocumented option, only for use with backitup restore scripts
|
# undocumented option, only for use with backitup restore scripts
|
||||||
|
# stops iobroker by terminating js-controller process by name (the old way)
|
||||||
echo 'This command will activate maintenance mode and stop js-controller.'
|
echo 'This command will activate maintenance mode and stop js-controller.'
|
||||||
echo 'Activating maintenance mode...'
|
echo 'Activating maintenance mode...'
|
||||||
echo 'maintenance' > "$healthcheck"
|
echo 'maintenance' > "$healthcheck"
|
||||||
sleep 1
|
sleep 1
|
||||||
echo 'Done.'
|
echo 'Done.'
|
||||||
echo -n 'Stopping ioBroker...'
|
echo -n 'Stopping ioBroker...'
|
||||||
stop_iob
|
pkill -u iobroker -f iobroker.js-controller
|
||||||
|
sleep 5
|
||||||
|
echo 'Done.'
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user