commit | 641d54540cbb28b9fda77a4919f28a401254358e | [log] [tgz] |
---|---|---|
author | Bob Lantz <rlantz@cs.stanford.edu> | Fri Mar 04 19:39:17 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Mar 08 01:32:47 2016 +0000 |
tree | 53d9c1068910d1e4d86609572e84f7893c2668d3 | |
parent | 5829c346b850bee3fdb4f1af8937f4e0971ef657 [diff] |
Fix upstart failing because of background onos-service (ONOS-4117) 1. Invoke karaf script in all cases (upstart, initd/systemd) This means that onos-service now blocks, which means we need to change onos.initd to run it in the background. Otherwise, we could use karaf/bin/start This should fix ONOS-4117 2. Use service onos {start/status/etc.} for upstart/init/systemd onos-install should not invoke the new init.d script directly; instead it should use service onos {cmd, which should work if service is available on upstart, init.d, and systemd-based distributions. This should fix ONOS-4124 3. In onos.initd, check if ONOS is running. This makes it easier to see what is going on, and it also avoids attempting to start ONOS if it's already running. Change-Id: I0152fd7fdcb079b25531442315d0bd69e6c7653d
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.