0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 22:03:47 +01:00
dendrite/docs/systemd/monolith-example.service

19 lines
353 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Dendrite (Matrix Homeserver)
After=syslog.target
After=network.target
After=postgresql.service
[Service]
Environment=GODEBUG=madvdontneed=1
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