diff --git a/.VERSION b/.VERSION index 52b9e40..805e29f 100644 --- a/.VERSION +++ b/.VERSION @@ -1 +1 @@ -v7.0.0 \ No newline at end of file +v7.0.1-beta.1 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b3f1e45..5e7895e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ ## Changelog + +### v7.0.1-beta.1 (05.07.2022) +* backitup restore patch + ### v7.0.0 (21.06.2022) * update docs & ci * v7.0.0-beta.1 (16.06.2022) diff --git a/debian/scripts/maintenance.sh b/debian/scripts/maintenance.sh index 6b09c96..a6c9788 100644 --- a/debian/scripts/maintenance.sh +++ b/debian/scripts/maintenance.sh @@ -54,13 +54,16 @@ enable_maintenance() { if [[ "$killbyname" == yes ]]; then # 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 'Activating maintenance mode...' echo 'maintenance' > "$healthcheck" sleep 1 echo 'Done.' echo -n 'Stopping ioBroker...' - stop_iob + pkill -u iobroker -f iobroker.js-controller + sleep 5 + echo 'Done.' return fi