15 lines
315 B
SYSTEMD
15 lines
315 B
SYSTEMD
|
[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
|