service as

This commit is contained in:
jorge 2021-05-19 16:34:56 +02:00
parent 4d7f7dba72
commit 55d81f1d9d
1 changed files with 8 additions and 2 deletions

View File

@ -91,7 +91,7 @@ oncen checked it works, stop the process.
- run listmonk as a service, create `/etc/systemd/system/listmonk.service` with:
```
[Unit]
Description=Listmonk server
Description=Listmonk domain.tdl server
After=syslog.target network.target postgressql.target
[Service]
@ -109,7 +109,13 @@ oncen checked it works, stop the process.
[Install]
WantedBy=multi-user.target
```
__________________
- enable the service `systemct enable listmonk.service` and restart the daemon `systemctl daemon-restart` or you can start just the service `systemctl start listmonk.service`
#### fixing small dependencies
- uploads fail: `mkdir /var/www/html/listmonk/uploads` and `chown -R www-data:www-data /var/www/html/listmonk`
___________________
### Heroku