diff --git a/bundles/gitea/items.py b/bundles/gitea/items.py index 6ded2aa..1ef3a76 100644 --- a/bundles/gitea/items.py +++ b/bundles/gitea/items.py @@ -5,6 +5,9 @@ downloads = { 'triggers': { 'svc_systemd:gitea:restart', }, + 'preceded_by': { + 'action:stop_gitea', + }, }, } @@ -35,6 +38,10 @@ actions = { 'download:/usr/local/bin/gitea', }, }, + 'stop_gitea': { + 'command': 'systemctl stop gitea', + 'triggered': True, + }, } files = {