1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/matrix/files/draupnir.service
Jan Alexander Steffens (heftig) 7c2d112870
matrix: Replace mjolnir with draupnir
Mjolnir does not support Node 20.
2024-04-09 00:01:06 +02:00

18 lines
441 B
SYSTEMD

[Unit]
Description=Draupnir Matrix moderation tool
Wants=synapse.service pantalaimon.service
After=network.target synapse.service pantalaimon.service
[Service]
User=synapse
WorkingDirectory=/var/lib/synapse/draupnir
Environment=NODE_ENV=production
ExecStart=/usr/bin/node lib/index.js --draupnir-config /etc/synapse/draupnir.yaml
Restart=on-failure
RestartSec=30s
[Install]
WantedBy=multi-user.target
# vim:set ft=systemd sw=2 sts=-1 et: