added restart service
hardcoded script to restart beaver if memory usage is above 512MB