run as daemon from the right directory
run as user www-data when running as daemon