bundles/gitea: downloading gitea updates needs stopping it first
This commit is contained in:
parent
d7398135d1
commit
457052d42b
1 changed files with 7 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue