mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-23 05:11:04 +02:00
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