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.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/contiv/templates/netmaster.service b/roles/contiv/templates/netmaster.service
index a602c955e..ce7d0c75e 100644
--- a/roles/contiv/templates/netmaster.service
+++ b/roles/contiv/templates/netmaster.service
@@ -6,5 +6,8 @@ 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
+Restart=always
RestartSec=10
+
+[Install]
+WantedBy=multi-user.target