altered daemon file to work better on Raspberry Pi