To renew or add new ssl certificates for now I have to do the following
- Run
ps -ef | grep certb
- Identify the looping process
- Kill it using
kill <process id>
Hint: In my case, usually it is the second process
root 25614 24813 0 17:54 ? 00:00:00 /bin/sh -c /opt/certbot/bin/certbot renew --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-16" --preferred-challenges "dns,http" --disable-hook-validation
root 25615 25614 0 17:54 ? 00:00:00 /opt/certbot/bin/python3 /opt/certbot/bin/certbot renew --non-interactive --config /etc/letsencrypt.ini --cert-name npm-16 --preferred-challenges dns,http --disable-hook-validation
root 27196 14519 0 17:57 pts/0 00:00:00 grep --color=auto certb
So I want to kill 25615
only. Otherwise, I'm killing NPM process itself.