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?