Add systemd example service to docs (#1512)
Signed-off-by: Pieter Hollander <git@pieterhollander.nl>main
parent
6b579e6aba
commit
0804594a61
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Dendrite (Matrix Homeserver)
|
||||||
|
After=syslog.target
|
||||||
|
After=network.target
|
||||||
|
After=postgresql.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
RestartSec=2s
|
||||||
|
Type=simple
|
||||||
|
User=dendrite
|
||||||
|
Group=dendrite
|
||||||
|
WorkingDirectory=/opt/dendrite/
|
||||||
|
ExecStart=/opt/dendrite/bin/dendrite-monolith-server
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue