mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-12 23:01:40 +00:00
18 lines
318 B
SYSTEMD
18 lines
318 B
SYSTEMD
|
[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
|