bench icon indicating copy to clipboard operation
bench copied to clipboard

sudo -H bench setup lets-encrypt non-interactive option

Open P-Godfroid opened this issue 1 year ago • 0 comments
trafficstars

Hello,

The server command sudo -H bench setup lets-encrypt {url} has these options:

image

the -n option allows to skip the "Do you want to continue? [y/N]:" prompt.

However, the "nginx.conf already exists and this will overwrite it. Do you want to continue? [y/N]:" prompt persists.

The command bench setup nginx also acts on nginx.conf but it does have a parameter to skip this prompt. image

I would like either the -n to be able to skip the prompt or another parameter to be added to bench setup lets-encrypt to be able to make this command really non-interactive (in standard situation where the certificate doesn't exist yet).

P-Godfroid avatar Nov 22 '24 10:11 P-Godfroid