matrix-lolopener.service: Use cli flags

Set the working directory to /opt/lolopener and use the -c cli flag to
set the config file path
This commit is contained in:
mirsal committed 2026-09-16 11:15:54 +00:00
1 parent c4e32064e2
commit 2de48b94d3
1 file changed
+2 -2
+2 -2
View File
@@ -4,8 +4,8 @@ Description=LOL-Opener Matrix Bot
[Service]
Type=simple
User=matrix-lolopener
WorkingDirectory=/opt/matrix-lolopener/etc
ExecStart=/opt/matrix-lolopener/bin/matrix-lolopener
WorkingDirectory=/opt/matrix-lolopener
ExecStart=/opt/matrix-lolopener/bin/matrix-lolopener -c etc/config.yml
Restart=on-failure
RestartSec=5