Hacker News new | ask | show | jobs
by e12e 1587 days ago
Nice little write-up. Appreciate the hints on setting up a systemd service. That said, with the service being a system service, I'd probably prefer moving the credentials file:

> credentials-file: /home/ubuntu/.cloudflared/ed5bfe1 (...)

To either /root, or (more likely) /etc/cloudflared/ and making it readable to root, or a system user especially for cloudflared.

I like to think that my services will run regardless of the state of my /home filesystem.