summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight.service
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight.service')
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight.service b/deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight.service
new file mode 100644
index 00000000..61a1dbdc
--- /dev/null
+++ b/deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenDaylight SDN Controller
+Documentation=https://wiki.opendaylight.org/view/Main_Page http://www.opendaylight.org/
+After=network.service
+
+[Service]
+Type=forking
+ExecStart=/opt/opendaylight-0.2.2/bin/start
+User=odl
+Group=odl
+
+[Install]
+WantedBy=multi-user.target