Nginx script to run as daemon or not