add redeploy service

This commit is contained in:
SimonFJ20 2025-03-07 11:51:29 +01:00
parent 1ccc232955
commit 94651fc2b3

View File

@ -0,0 +1,13 @@
[Unit]
Description=H4 Redeploy listener
[Service]
Type=simple
User=host
ExecStart=/home/host/h4-projekt-gruppe-0-sm/deploy/redeploy_listener.py
Restart=on-failure
RestartSec=10
WorkingDirectory=/home/host/h4-projekt-gruppe-0-sm
[Install]
WantedBy=default.target