Can certbot’s `post-hook` parameter take multiple commands


#1

I have a script that copies the letsencrypt certs to a directoy that my xmpp server prosody can read/write. Trying to use the letsencrypt serts directly results in premission issues.

What I think I should do is have my cronjob run the command certbot-auto renew ... --post-hook 'systemctl restart nginx; letsencrypt-to-prosody.sh; systemctl restart prosody'

Can the post-hook take multiple commands this way?


#2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.