equal
deleted
inserted
replaced
1 [Unit] |
1 [Unit] |
2 Description=Dendrite %I Instance |
2 Description=Dendrite instance on port %i |
3 After=syslog.target network.target postgresql.service |
3 After=syslog.target network.target postgresql.service |
4 |
4 |
5 [Service] |
5 [Service] |
6 WorkingDirectory={{dendrite_dir}}/%i/ |
6 WorkingDirectory={{dendrite_dir}}/%i/ |
7 ExecStart=/usr/local/bin/dendrite-monolith-server -config "{{dendrite_dir}}/%i/dendrite.yaml" -http-bind-address ":{{dendrite_port}}" |
7 ExecStart=/usr/local/bin/dendrite-monolith-server -config "{{dendrite_dir}}/%i/dendrite.yaml" -http-bind-address ":%i" |
8 Restart=always |
8 Restart=always |
9 User={{dendrite_user}} |
9 User={{dendrite_user}} |
10 LimitNOFILE=65535 |
10 LimitNOFILE=65535 |
11 |
11 |
12 [Install] |
12 [Install] |