Add mode non-interactive on delete cert
All checks were successful
Continuous Integration / env (push) Successful in 0s
All checks were successful
Continuous Integration / env (push) Successful in 0s
This commit is contained in:
@@ -55,7 +55,7 @@ systemctl reenable --now nginx.service certbot-renew.timer
|
||||
%postun
|
||||
# Remove folders after uninstall
|
||||
if [ $1 == 0 ]; then
|
||||
/opt/certbot/bin/certbot delete --cert-name netoik.io
|
||||
/opt/certbot/bin/certbot delete --cert-name netoik.io --non-interactive
|
||||
rm --recursive --force /opt/certbot
|
||||
rm --recursive --force %{_sysconfdir}/certbot
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user