bundles/gitea: downloading gitea updates needs stopping it first

This commit is contained in:
Franzi 2021-02-06 09:43:54 +01:00
parent d7398135d1
commit 457052d42b
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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 = {