See Disroot/Disroot-Project#920 @muppeth I've just have a question about why you restart forgejo with: ``` - name: '[UPGRADE] - Restart forgejo' systemd: name: forgejo state: restarted when: - forgejo_is_installed.rc == 0 - forgejo_health is defined and forgejo_health.rc is defined and forgejo_health.rc == 0 - name: '[UPGRADE] - Wait for forgejo to be back online' pause: seconds: 10 when: - forgejo_is_installed.rc == 0 - forgejo_health is defined and forgejo_health.rc is defined and forgejo_health.rc == 0 ``` does forgejo need to be up to run `forgejo manager flush-queues` ? I'm asking coz we stop forgejo just after flush. Reviewed-on: #49 Reviewed-by: muppeth <muppeth@no-reply@disroot.org> Co-authored-by: meaz <meaz@disroot.org> Co-committed-by: meaz <meaz@disroot.org> |
||
---|---|---|
.. | ||
main.yml |