contrib/certbot: set -eu in renewal hook

That way the script fails if the reload fails.
This commit is contained in:
Simon Ser 2023-12-08 17:04:17 +01:00
parent 2216dd91a0
commit 3e1efea6e5
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ like so:
`/etc/letsencrypt/renewal-hooks/post/soju.sh` and add a command to reload
soju, for instance:
#!/bin/sh
#!/bin/sh -eu
systemctl reload soju
Then mark the script as executable:
sudo chmod 755 /etc/letsencrypt/renewal-hooks/post/soju.sh
chmod 755 /etc/letsencrypt/renewal-hooks/post/soju.sh
[Certbot]: https://certbot.eff.org/