From 62822413b20a82c4738897c16d3120c04fbf27d6 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 17 Jun 2019 19:58:29 +0200 Subject: [HTTP API] T1431: make systemd restart the HTTP API service on failure. --- src/systemd/vyos-http-api.service | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3