Closed GoogleCodeExporter closed 9 years ago
GUB already provides these steps. Look for /etc/init/brata_station.conf in the
GUB.
Original comment by jawaad.a...@gmail.com
on 1 Feb 2015 at 8:38
Original comment by ellery.c...@gmail.com
on 6 Feb 2015 at 3:28
Working. There was a race condition between the brata.station and the Apache
server. If the station comes up first, it may send its join message to the MS
before the MS is alive, which results in the station not getting registered.
I added a loop with a 10 second delay that looks for the Apache process before
it launches the brata.station. I can't guarantee that it is bullet-proof, but
it seems to work.
The startup scripts are supposed to be able to impose dependencies between
them, but the Apache server is started by a systemd script, while brata.station
is started by an upstart script. Apparently the events from one do not affect
the other. hence the polling loop.
Original comment by ellery.c...@gmail.com
on 7 Feb 2015 at 9:15
Original comment by ellery.c...@gmail.com
on 7 Feb 2015 at 9:15
Original comment by jawaad.a...@gmail.com
on 18 Feb 2015 at 11:33
Original issue reported on code.google.com by
ellery.c...@gmail.com
on 27 Jan 2015 at 10:21