summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemd/vyos-http-api.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/vyos-http-api.service b/src/systemd/vyos-http-api.service
index 53322a84f..509af4816 100644
--- a/src/systemd/vyos-http-api.service
+++ b/src/systemd/vyos-http-api.service
@@ -9,6 +9,8 @@ KillMode=process
SyslogIdentifier=vyos-http-api
SyslogFacility=daemon
+Restart=on-failure
+
# Does't work but leave it here
User=root
Group=vyattacfg