Set up auto-restart deployment