From f47f7b67c547de54b8cc29c0d5564650ede432d5 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 9 May 2023 22:50:57 +0200 Subject: [PATCH] unit service --- src/cse-webhook-watcher.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/cse-webhook-watcher.service diff --git a/src/cse-webhook-watcher.service b/src/cse-webhook-watcher.service new file mode 100644 index 0000000..a544da1 --- /dev/null +++ b/src/cse-webhook-watcher.service @@ -0,0 +1,15 @@ +[Unit] +Description=Webhook watcher for the Cybersecutiry entschluesselt podcast +After=syslog.target + +[Service] +Type=simple +User=cse-webhook +Group=cse-webhook +WorkingDirectory=/srv/cse-webhook-watcher +ExecStart=/srv/cse-webhook-watcher/.venv/bin/python3 /srv/cse-webhook-watcher/src/main.py +StandardOutput=syslog +StandardError=syslog + +[Install] +WantedBy=multi-user.target