src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite/server/templates/[email protected]
blob: 30b3d72a15574f992608a1fd0a31c162a962928e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Dendrite %I Instance
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 ":{{dendrite_port}}"
Restart=always
User={{dendrite_user}}
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target