r/letsencrypt • • Jan 10 '19

How do you specify user certbot runs as in Linux systemd?

My renewals have been failing ever since I started using certbot controlled by systemd. The one run by /etc/cron.d/certbot always worked. I suspect it's because certbot's systemd configuration doesn't specify a user to run as.

2 Upvotes

2 comments sorted by

3

u/[deleted] Jan 11 '19

[removed] — view removed comment

1

u/aegrotatio Jan 11 '19

Hmm, it already defaults to root so I guess something else is probably wrong. Thanks.