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.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/contiv/templates/netmaster.service b/roles/contiv/templates/netmaster.service
new file mode 100644
index 000000000..21c0380be
--- /dev/null
+++ b/roles/contiv/templates/netmaster.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Netmaster
+After=auditd.service systemd-user-sessions.service contiv-etcd.service
+
+[Service]
+EnvironmentFile=/etc/default/netmaster
+ExecStart={{ bin_dir }}/netmaster $NETMASTER_ARGS
+KillMode=control-group