The content is right but indentation is important in the yml file, so that needs to be corrected:
after_ssl:
- replace:
filename: “/etc/runit/1.d/letsencrypt”
from: /--keylength/
to: “-d www.nzarchitecture.net.nz --keylength”
You will need to rebuild for it to take effect.
Edit: Actually it looks like the use of --keylength has been replaced by -k, so you’ll need the following instead:
Apologies, my Github search lead me to an old fork without me noticing. --keylength is correct.