Restart nginx service at end