Add service file

This commit is contained in:
Gabriel Huber 2025-05-15 14:53:04 +02:00
parent e689fa9653
commit 16c325faa4

12
previewbot.service Normal file
View file

@ -0,0 +1,12 @@
[Unit]
Description=XMPP preview bot
After=prosody.service
[Service]
User=nobody
Group=nobody
WorkingDirectory=/opt/previewbot
ExecStart=/usr/bin/python3 previewbot.py
[Install]
WantedBy=multi-user.target