binary debian run and upgrade instructions

This commit is contained in:
jorge 2021-05-31 10:30:17 +02:00
parent d9a2cf7549
commit 51c7b5a30d
1 changed files with 9 additions and 0 deletions

View File

@ -77,6 +77,15 @@ oncen checked it works, stop the process.
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
``` ```
- enable and run the service `sudo systemctl enable listmonk.service` and then `sudo systemctl start listmonk.service`
#### upgrade (the binary install)
- Download the [latest release](https://github.com/knadh/listmonk/releases) and extract the listmonk binary.
- stop `listmonk` or it's service if run as so `sudo systemctl stop listmonk.service`
- move the binary to executing destination.
- change ownership of the files to `www-data` or whatever user you have assigned the webserver `chown -R www-data:www-data listmonk`
- `./listmonk --upgrade` to upgrade an existing DB. (Upgrades are idempotent and running them multiple times have no side effects).
- start again the binary or the service `sudo systemctl start listmonk.service`
__________________ __________________
### Heroku ### Heroku