summaryrefslogtreecommitdiffstats
path: root/roles/contiv/templates/aci-gw.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/contiv/templates/aci-gw.service')
-rw-r--r--roles/contiv/templates/aci-gw.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/contiv/templates/aci-gw.service b/roles/contiv/templates/aci-gw.service
index 90bb98001..9b3f12567 100644
--- a/roles/contiv/templates/aci-gw.service
+++ b/roles/contiv/templates/aci-gw.service
@@ -6,5 +6,8 @@ After=auditd.service systemd-user-sessions.service time-sync.target {{ openshift
ExecStart={{ bin_dir }}/aci_gw.sh start
ExecStop={{ bin_dir }}/aci_gw.sh stop
KillMode=control-group
-Restart=on-failure
+Restart=always
RestartSec=10
+
+[Install]
+WantedBy=multi-user.target