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

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

2019-11-06 Thread Michael Ellis
Thanks Sean Liao, Kurtis Rader, Marko Ristin-Kaufman, and cg-guy. Apologies for not responding sooner. I looked at the code for Caddy and revproxyry. Neat stuff for sure and I'd seriously consider them for a more elaborate project. Thinking through my needs I concluded that it's probably bett

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

2019-11-06 Thread golangguy
May be , I hope you use letusencryt auto renew and running this under cron , If you dont want to add any other library , use can put it as a systemctl service, restart when exits using the service. That might work On Tuesday, 5 November 2019 22:50:11 UTC+5:30, Michael Ellis wrote: > > >