diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-06-17 19:58:29 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-06-17 19:58:29 +0200 |
commit | 62822413b20a82c4738897c16d3120c04fbf27d6 (patch) | |
tree | bc4d06ebd858448a05c7f434e86455180b0b08d9 /src/systemd | |
parent | d6d42f5a2729b5efb839de48b2ebd52b792dfa84 (diff) | |
download | vyos-1x-62822413b20a82c4738897c16d3120c04fbf27d6.tar.gz vyos-1x-62822413b20a82c4738897c16d3120c04fbf27d6.zip |
[HTTP API] T1431: make systemd restart the HTTP API service on failure.
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/vyos-http-api.service | 2 |
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 |