Committed by
Gerrit Code Review
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
Showing
3 changed files
with
17 additions
and
7 deletions
-
Please register or login to post a comment