Making pi-writer a daemon