Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

1.2 KB
Raw Blame

Listmonk

We use Listmonk to manage our mailing lists.

  • Museum lets Listmonk know about new users and account deletion (this allows Listmonk to create corresponding accounts).

  • Subsequently, Listmonk handles user subscription / unsubscription etc (Listmonk stores its data in an external Postgres).

Installing

Install nginx.

Add Listmonk's configuration.

sudo mkdir -p /root/listmonk
sudo tee /root/listmonk/config.toml

Add the service definition and nginx configuration.

scp services/listmonk/listmonk.* <instance>:

sudo mv listmonk.service /etc/systemd/system/
sudo mv listmonk.nginx.conf /root/nginx/conf.d

For a fresh database, run initialize-db.sh once before starting Listmonk.

scp services/listmonk/initialize-db.sh <instance>:

sudo sh initialize-db.sh
rm initialize-db.sh

Tell systemd to pick up new service definitions, enable the unit (so that it automatically starts on boot), and start it this time around.

sudo systemctl daemon-reload
sudo systemctl enable --now listmonk

Tell nginx to pick up the new configuration.

sudo systemctl reload nginx