api-test-server.service: restart on failure

This commit is contained in:
Dietmar Maurer 2018-11-30 17:41:15 +01:00
parent 3b4e7517a7
commit ef1a2162e7
1 changed files with 2 additions and 0 deletions

View File

@ -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