mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-10 06:53:00 +00:00
20 lines
371 B
Desktop File
20 lines
371 B
Desktop File
[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
|
|
LimitNOFILE=65535
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|