matrix-reportbot/reportbot.service
Kumi 0845b34780
fix: update reportbot startup command
The reportbot service startup command has been updated to use the correct module name, `matrix_reportbot`, ensuring the service starts using the intended Python module. This change resolves issues where the reportbot service failed to start due to an incorrect module name reference.
2024-05-05 19:46:15 +02:00

15 lines
No EOL
269 B
Desktop File

[Unit]
Description=ReportBot
Requires=network.target
[Service]
Type=simple
User=reportbot
Group=reportbot
WorkingDirectory=/opt/reportbot
ExecStart=/opt/reportbot/.venv/bin/python3 -um matrix_reportbot
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target