Implement proper script for starting/stopping/reloading slaveapi server.