:: Re: [devuan-dev] devuan.org cert
Pàgina inicial
Delete this message
Reply to this message
Autor: KatolaZ
Data:  
A: devuan-dev
Assumpte: Re: [devuan-dev] devuan.org cert
On Sun, Jul 16, 2017 at 09:23:31AM +1000, Ralph Ronnquist wrote:
> Yeah for d1g I believe it's a faulty cron line, which then fails to restart
> nginx properly. The installed line has the following command line:
> `test -x /usr/bin/certbot && certbot -q renew || certbot -q renew
> --pre-hook="service nginx stop" --post-hook "service nginx start"`
>


Hi Ralph,

you should only a post-hook where you restart nginx. If nginx is down,
certbot renewal will fail.

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]