summaryrefslogtreecommitdiffstats
path: root/roles/contiv/templates/netplugin.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/contiv/templates/netplugin.service')
-rw-r--r--roles/contiv/templates/netplugin.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/contiv/templates/netplugin.service b/roles/contiv/templates/netplugin.service
new file mode 100644
index 000000000..dc7b95bb5
--- /dev/null
+++ b/roles/contiv/templates/netplugin.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Netplugin
+After=auditd.service systemd-user-sessions.service contiv-etcd.service
+
+[Service]
+EnvironmentFile=/etc/default/netplugin
+ExecStart={{ bin_dir }}/netplugin $NETPLUGIN_ARGS
+KillMode=control-group