allow avbot -d to run as daemon