HyperDrive: Update #10

Intended Audience: Marija Bezbradica (FYP Supervisor)

Made progress with:

  • Script to start, stop & restart the HyperDrive application on the server.

I wrote a bash script to simplify the tedious task of starting, stopping and rebooting the application on the server.

The script takes a string as a parameter, the string can either be ‘Start’, ‘Stop’, ‘Restart’. The script contains a case for each event.

When the server is started the output is piped into a log file and the process id is stored in another file. When stopping the process id is read in from that file and the process is killed. The rebooting case is a combination of the first two.
Screen Shot 2016-05-24 at 18.03.57

Leave a Reply

Your email address will not be published. Required fields are marked *