api-test-server.service: restart on failure
This commit is contained in:
parent
3b4e7517a7
commit
ef1a2162e7
|
@ -2,10 +2,12 @@
|
||||||
Description=Proxmox API Test Server
|
Description=Proxmox API Test Server
|
||||||
ConditionPathExists=/usr/sbin/api-test-server
|
ConditionPathExists=/usr/sbin/api-test-server
|
||||||
After=syslog.service
|
After=syslog.service
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/api-test-server start
|
ExecStart=/usr/sbin/api-test-server start
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue