src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite/server/templates/[email protected]
blob: 3a8b09e5c4081d0d692ec43315f8853b9a547303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[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