unit service

This commit is contained in:
Christoph J. Scherr 2023-05-09 22:50:57 +02:00
parent 550493cfe1
commit f47f7b67c5
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
1 changed files with 15 additions and 0 deletions

View File

@ -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