mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 00:34:06 +02:00
add redeploy service
This commit is contained in:
parent
1ccc232955
commit
94651fc2b3
13
deploy/h4_redeploy_listener.service
Normal file
13
deploy/h4_redeploy_listener.service
Normal 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
|
Loading…
x
Reference in New Issue
Block a user