Add systemd unit

This commit is contained in:
Leon Grünewald 2025-06-27 10:52:04 +02:00
parent 2089dc8a41
commit 3390b12263

15
skg-watcher.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=SKG Watcher - Signature Collection Initiative Monitor
After=network.target
[Service]
Type=simple
User=bot
WorkingDirectory=/home/bot/workspace/skg-watcher
Environment=PYTHONPATH=/home/bot/workspace/skg-watcher
ExecStart=/usr/bin/python3 -m skg_watcher.main
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target