1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/matrix/files/mjolnir.service
Jan Alexander Steffens (heftig) d8ced720e9
matrix: Adjust modelines
- Add `ft=systemd` where needed
- Remove `ft=` where filetype detection works (especially jinja.vim)
- Set `sw=2 sts=-1 et` everywhere
2022-12-10 00:55:51 +01:00

19 lines
472 B
SYSTEMD

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