Add systemd service

This commit is contained in:
Edgar P. Burkhart 2024-06-14 14:16:54 +02:00
parent f11ca5c320
commit f0e930e831
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

13
botbotbot.service Normal file
View file

@ -0,0 +1,13 @@
# /etc/systemd/system/botbotbot.service
[Unit]
Description=Botbotbot
After=multi-user.target
[Service]
Type=simple
User=edpibu
WorkingDirectory=/data/code/botbotbot.py
ExecStart=/data/code/botbotbot.py/env/bin/python -u -m botbotbot
[Install]
WantedBy=multi-user.target