Reopened due to a bug concerning restart of web-services, see comment below
The last command in the installation-process scripts/install-rp.sh is e reboot. This extends the installation unneeded.
To do
create a script 'start-web' for starting the web-services (now in /etc/rc.local)
provide a call to start-web in /etc/rc.local
provide a call to start-web in scripts/install-rp.sh
remove the reboot-command in scripts/install-rp.sh
Advantages
faster installation
faster updating
prevent problems with rebooting (hang, disk not recognized, etc.)
Problems
Web-interfaces reacts flaky to new code, disabling them is not working very good:
# First kill the web-services, for a clean startkill $(ps -ef | grep "web/controller" | grep -v grep | head -n 1 | awk '{print $2}')kill $(ps -ef | grep "api/controller" | grep -v grep | head -n 1 | awk '{print $2}')
Bug: restart of web-services is flaky, despite the kill of both the api- and web-service in the start-web script. Find a better way or re-enable the reboot after the install.
Reopened due to a bug concerning restart of web-services, see comment below
The last command in the installation-process scripts/install-rp.sh is e reboot. This extends the installation unneeded.
To do
Advantages
Problems
Web-interfaces reacts flaky to new code, disabling them is not working very good:
# First kill the web-services, for a clean start
kill $(ps -ef | grep "web/controller" | grep -v grep | head -n 1 | awk '{print $2}')
kill $(ps -ef | grep "api/controller" | grep -v grep | head -n 1 | awk '{print $2}')