New file openmano.service: extracted from install-openmano-service.sh
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 9 Mar 2017 15:23:25 +0000 (16:23 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 9 Mar 2017 17:17:03 +0000 (18:17 +0100)
Change-Id: I5f2dc1df0586d73f3f5377b87c57dbbffd61c635
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
openmano.service [new file with mode: 0644]

diff --git a/openmano.service b/openmano.service
new file mode 100644 (file)
index 0000000..cc8966c
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=openmano server (OSM RO)
+
+[Service]
+User=${USER_OWNER}
+ExecStart=openmanod -c /etc/osm/openmanod.cfg --log-file=/var/log/osm/openmano.log
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+