dendrite/server/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Mon, 05 Sep 2022 16:02:56 -0500
changeset 187 0f3a64c60ec5
parent 183 b31ef0e10cad
child 211 9e2b2cc6ccf1
permissions -rw-r--r--
Added lnd REST api to nginx. Moved prometheus and apt-cacher data to external hdd.

[Unit]
Description=Dendrite instance on port %i
After=syslog.target network.target postgresql.service

[Service]
WorkingDirectory={{dendrite_dir}}/%i/
ExecStart=/usr/local/bin/dendrite-monolith-server -config "{{dendrite_dir}}/%i/dendrite.yaml" -http-bind-address ":%i"
Restart=always
User={{dendrite_user}}
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target