From 3390b122633862e6f7208f79936f223f4ce4f84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Gr=C3=BCnewald?= <10533763+dhalucario@users.noreply.github.com> Date: Fri, 27 Jun 2025 10:52:04 +0200 Subject: [PATCH] Add systemd unit --- skg-watcher.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 skg-watcher.service diff --git a/skg-watcher.service b/skg-watcher.service new file mode 100644 index 0000000..541f5e2 --- /dev/null +++ b/skg-watcher.service @@ -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