matrix-room-exporter/matrix-room-exporter.service

13 lines
261 B
SYSTEMD
Raw Permalink Normal View History

2024-04-03 23:07:42 -06:00
[Unit]
Description=Matrix Room Exporter Bot
After=network.target
[Service]
Type=simple
User=matrix-bots
ExecStart=/srv/matrix-room-exporter/venv/bin/python /srv/matrix-room-exporter/main.py
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target