summaryrefslogtreecommitdiffstats
path: root/roles/contiv/templates/netplugin.service
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-12-14 10:24:24 -0500
committerGitHub <noreply@github.com>2017-12-14 10:24:24 -0500
commit51a69d758e188b16126cca6f2791e2a00fe6ebad (patch)
tree486cee3b6a466ede8f1f316cf05146bcf0d3a5d8 /roles/contiv/templates/netplugin.service
parenta1344ac3d0ded24335d9c82fff92468c6225bdee (diff)
parente28adead42dd55f23f0421aa054c7419e646b2a9 (diff)
downloadopenshift-51a69d758e188b16126cca6f2791e2a00fe6ebad.tar.gz
openshift-51a69d758e188b16126cca6f2791e2a00fe6ebad.tar.bz2
openshift-51a69d758e188b16126cca6f2791e2a00fe6ebad.tar.xz
openshift-51a69d758e188b16126cca6f2791e2a00fe6ebad.zip
Merge pull request #6348 from nbartos/contiv-systemd
Contiv systemd fixes
Diffstat (limited to 'roles/contiv/templates/netplugin.service')
-rw-r--r--roles/contiv/templates/netplugin.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/contiv/templates/netplugin.service b/roles/contiv/templates/netplugin.service
index dc7b95bb5..6358d89ec 100644
--- a/roles/contiv/templates/netplugin.service
+++ b/roles/contiv/templates/netplugin.service
@@ -6,3 +6,8 @@ After=auditd.service systemd-user-sessions.service contiv-etcd.service
EnvironmentFile=/etc/default/netplugin
ExecStart={{ bin_dir }}/netplugin $NETPLUGIN_ARGS
KillMode=control-group
+Restart=always
+RestartSec=10
+
+[Install]
+WantedBy=multi-user.target