unit service
This commit is contained in:
parent
550493cfe1
commit
f47f7b67c5
|
@ -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
|
Loading…
Reference in New Issue