start/stop script controlling nginx and foreman