bundles/gitea: downloading gitea does not need restarting
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

we're stopping gitea beforehand, then start it again afterwards. No need
to restart it again.
This commit is contained in:
Franzi 2021-12-04 20:01:35 +01:00
parent 14eb529fb7
commit 0531ecd217
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -43,9 +43,6 @@ files = {
'source': 'https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-amd64'.format(version=node.metadata['gitea']['version']), 'source': 'https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-amd64'.format(version=node.metadata['gitea']['version']),
'content_hash': node.metadata.get('gitea/sha1', None), 'content_hash': node.metadata.get('gitea/sha1', None),
'mode': '0755', 'mode': '0755',
'triggers': {
'svc_systemd:gitea:restart',
},
'preceded_by': { 'preceded_by': {
'svc_systemd:gitea:stop', 'svc_systemd:gitea:stop',
}, },