diff --git a/debian/api-test-server.service b/debian/api-test-server.service index aff5e061..bf1c3b1b 100644 --- a/debian/api-test-server.service +++ b/debian/api-test-server.service @@ -2,10 +2,12 @@ Description=Proxmox API Test Server ConditionPathExists=/usr/sbin/api-test-server After=syslog.service +After=network.target [Service] ExecStart=/usr/sbin/api-test-server start Type=simple +Restart=on-failure [Install] WantedBy=multi-user.target