recommend restart on update

Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
vladmandic
2026-01-10 20:50:48 +01:00
parent a6a5b9ff54
commit f5f4c60820
+1
View File
@@ -1644,6 +1644,7 @@ def check_version(reset=True): # pylint: disable=unused-argument
# git('git stash pop')
ver = git('log -1 --pretty=format:"%h %ad"')
log.info(f'Repository upgraded: {ver}')
log.warning('Server restart is recommended to apply changes')
if ver == latest: # double check
restart()
except Exception: