summaryrefslogtreecommitdiffstats
path: root/roles/contiv/templates/netmaster.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/contiv/templates/netmaster.service')
-rw-r--r--roles/contiv/templates/netmaster.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/contiv/templates/netmaster.service b/roles/contiv/templates/netmaster.service
index 21c0380be..a602c955e 100644
--- a/roles/contiv/templates/netmaster.service
+++ b/roles/contiv/templates/netmaster.service
@@ -6,3 +6,5 @@ After=auditd.service systemd-user-sessions.service contiv-etcd.service
EnvironmentFile=/etc/default/netmaster
ExecStart={{ bin_dir }}/netmaster $NETMASTER_ARGS
KillMode=control-group
+Restart=on-failure
+RestartSec=10