dendrite/server/templates/[email protected]
changeset 183 b31ef0e10cad
parent 181 2b30d081dd9b
child 211 9e2b2cc6ccf1
equal deleted inserted replaced
182:b4ce6f1f15b7 183:b31ef0e10cad
     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]