dendrite/server/templates/[email protected]
changeset 181 2b30d081dd9b
parent 180 f2f99b9b16ee
child 183 b31ef0e10cad
equal deleted inserted replaced
180:f2f99b9b16ee 181:2b30d081dd9b
     2 Description=Dendrite %I Instance
     2 Description=Dendrite %I Instance
     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 --http-bind-address ":{{dendrite_port}}"
     7 ExecStart=/usr/local/bin/dendrite-monolith-server -config "{{dendrite_dir}}/%i/dendrite.yaml" -http-bind-address ":{{dendrite_port}}"
     8 Restart=always
     8 Restart=always
     9 User={{dendrite_user}}
     9 User={{dendrite_user}}
    10 LimitNOFILE=65535
    10 LimitNOFILE=65535
    11 LimitNPROC=65535
       
    12 
    11 
    13 [Install]
    12 [Install]
    14 WantedBy=multi-user.target
    13 WantedBy=multi-user.target