Fix issue with debug option not being picked up by init.d script
Change-Id: I47499ae253484d34d677c339b34fec6e53addcbe
diff --git a/tools/package/init/onos.initd b/tools/package/init/onos.initd
index 7f93cfa..5aa78d1 100755
--- a/tools/package/init/onos.initd
+++ b/tools/package/init/onos.initd
@@ -20,7 +20,7 @@
mkdir -p $ONOS_HOME/config 2>/dev/null && chown $ONOS_USER.$ONOS_GROUP $ONOS_HOME/config
[ ! -h $ONOS_HOME/log ] && ln -s $ONOS_HOME/karaf/data/log $ONOS_HOME/log || :
start-stop-daemon --signal INT --start --chuid $ONOS_USER \
- --exec $ONOS_HOME/bin/onos-service --pidfile $ONOS_PID
+ --exec $ONOS_HOME/bin/onos-service --pidfile $ONOS_PID \
-- $ONOS_OPTS >$ONOS_HOME/var/stdout.log 2>$ONOS_HOME/var/stderr.log
}