From 95dabe593b30fc6527320703e09e84d578ac30aa Mon Sep 17 00:00:00 2001 From: MaximilianKohler Date: Sat, 2 Dec 2023 09:11:27 -0800 Subject: [PATCH] Update upgrade.md +binary info (#1613) --- docs/docs/content/upgrade.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/content/upgrade.md b/docs/docs/content/upgrade.md index 7f78b51..2c8371c 100644 --- a/docs/docs/content/upgrade.md +++ b/docs/docs/content/upgrade.md @@ -7,6 +7,10 @@ Some versions may require changes to the database. These changes or database "mi - `./listmonk --upgrade` to upgrade an existing DB. Upgrades are idempotent and running them multiple times have no side effects. - Run `./listmonk` and visit `http://localhost:9000`. +If you installed listmonk as a service, you will need to stop it before overwriting the binary. Something like `sudo systemctl stop listmonk` or `sudo service listmonk stop` should work. Then overwrite the binary with the new version, then run `./listmonk --upgrade, and `start` it back with the same commands. + +If it's not running as a service, `pkill -9 listmonk` will stop the listmonk process. + ## Docker - `docker compose pull` to pull the latest version from DockerHub.