Upgrade and uninstall¶
Upgrade¶
Run the same installer again; config, secrets and logs are kept, and the service is restarted with the new binary.
Check the running version with nimdeploy -version. Release notes:
GitHub releases.
Tip
A restart stops running deploys (shutdown_timeout gives them up to 5
minutes to finish first; a push queued at that moment is lost and logged).
Upgrade when nothing is deploying: nimdeploy status.
Uninstall¶
Removes both units and the sudoers file. The account's files
(~deploy/.local/bin, ~deploy/.config/nimdeploy, ~deploy/.pm2) and
/var/log/nimdeploy are kept; the operator stays in systemd-journal
(gpasswd -d aitor systemd-journal).
Remember to delete the webhooks in your git host as well.