bundles/gitea: use canned stop action
This commit is contained in:
parent
74d81eb7ba
commit
3fa81ddc85
2 changed files with 3 additions and 6 deletions
|
@ -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': {
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
bundlewrap>=4.4.2
|
||||
bundlewrap>=4.5.1
|
||||
PyNaCl
|
||||
|
|
Loading…
Reference in a new issue