dendrite/server/templates/[email protected]
changeset 211 9e2b2cc6ccf1
parent 183 b31ef0e10cad
child 215 dd52907adff9
equal deleted inserted replaced
210:dcdb18c5dc21 211:9e2b2cc6ccf1
     2 Description=Dendrite instance on port %i
     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 ":%i"
     7 ExecStart=/usr/local/bin/dendrite -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]