Add a systemd unit file

This commit is contained in:
2026-09-14 17:21:52 +00:00
parent d4b16451b9
commit b1a75727d4
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=LOL-Opener Matrix Bot
[Service]
Type=simple
User=matrix-lolopener
WorkingDirectory=/opt/matrix-lolopener/etc
ExecStart=/opt/matrix-lolopener/bin/matrix-lolopener
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target