Re: [go-nuts] Re: Auto-renew letsencrypt cert with standard library code

2019-11-06 Thread Marko Ristin-Kaufmann
Hi Mike, > >> Given how complex your file is, let me suggest you a simpler alternative: >> ... >> >> > Thanks, Marko, but I'm not sure that's simpler. My unit file has exactly > one line devoted to cert renewal. > > ExecStartPre=+/usr/bin/certbot renew > After a second look on a wider screen, I

Re: [go-nuts] Re: Auto-renew letsencrypt cert with standard library code

2019-11-06 Thread Michael Ellis
> Given how complex your file is, let me suggest you a simpler alternative: > use either caddy or revproxyry as a reverse proxy. You start two processes, > the reverse proxy and your service, and just point the reverse proxy to > your service. > > Since reverse proxy is just a binary executa

Re: [go-nuts] Re: Auto-renew letsencrypt cert with standard library code

2019-11-06 Thread Marko Ristin-Kaufmann
Hi Michael, > So I ended up biting the bullet and learning how to use systemd. The unit > file I ended up with is below. > Given how complex your file is, let me suggest you a simpler alternative: use either caddy or revproxyry as a reverse proxy. You start two processes, the reverse proxy and