added systemd job

This commit is contained in:
2023-03-02 21:17:12 +01:00
parent dfba150bd6
commit 5ccf70028a
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,15 @@
[Unit]
Description=MSV-Clubhouse-Backend
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=oneshot
User=prometheus
Group=prometheus
WorkingDirectory=/opt/msv-clubhouse-backend/
ExecStart=/usr/bin/python3 /opt/msv-clubhouse-backend/msv_clubhouse_backend.py
[Install]
WantedBy=multi-user.target