bundles/gitea: use canned stop action

This commit is contained in:
Franzi 2021-02-20 15:47:35 +01:00
parent 74d81eb7ba
commit 3fa81ddc85
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 3 additions and 6 deletions

View file

@ -6,7 +6,7 @@ downloads = {
'svc_systemd:gitea:restart',
},
'preceded_by': {
'action:stop_gitea',
'svc_systemd:gitea:stop',
},
},
}
@ -38,10 +38,6 @@ actions = {
'download:/usr/local/bin/gitea',
},
},
'stop_gitea': {
'command': 'systemctl stop gitea',
'triggered': True,
},
}
files = {
@ -50,6 +46,7 @@ files = {
'context': node.metadata['gitea'],
'triggers': {
'action:systemd-reload',
'svc_systemd:gitea:restart',
},
},
'/etc/gitea/app.ini': {

View file

@ -1,2 +1,2 @@
bundlewrap>=4.4.2
bundlewrap>=4.5.1
PyNaCl