From ef1a2162e7967709b67d5ba7acc266b34cfbadc5 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 30 Nov 2018 17:41:15 +0100 Subject: [PATCH] api-test-server.service: restart on failure --- debian/api-test-server.service | 2 ++ 1 file changed, 2 insertions(+) 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