mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-25 15:53:09 -06:00
Add systemd example service to docs
Signed-off-by: Pieter Hollander <git@pieterhollander.nl>
This commit is contained in:
parent
9096bfcee8
commit
abeb226ecf
17
docs/systemd/monolith-example.service
Normal file
17
docs/systemd/monolith-example.service
Normal file
|
|
@ -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 a new issue