diff options
author | Jonas Smedegaard <dr@jones.dk> | 2018-07-19 14:09:33 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2018-07-19 14:09:33 +0200 |
commit | 10586beb6ef8e3d452ef98e6108cd45a9f85ce0f (patch) | |
tree | 95d4d47ec40a3e465f6081a3adf73bb8e72b5194 | |
parent | 7296461b52b8bc50c6446fadc34410cef2c28404 (diff) |
Fix support host without mailhost or chathost.
-rwxr-xr-x | dehydrated/hook.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dehydrated/hook.sh b/dehydrated/hook.sh index fd6be0a..9e0a009 100755 --- a/dehydrated/hook.sh +++ b/dehydrated/hook.sh @@ -17,8 +17,8 @@ servicehosts() { 2> /dev/null \ | perl -0777 -pe 's/\s*\#.*//gm;s/^\s+//;s/\s+$//;s/\s+/|/g' } -MAILHOSTS=$(servicehosts mail postconf) -CHATHOSTS=$(servicehosts chat ejabberdctl) +MAILHOSTS=$(servicehosts mail postconf) || true +CHATHOSTS=$(servicehosts chat ejabberdctl) || true cert_fix() { DOMAIN="$1"; KEYFILE="$2"; FULLCHAINFILE="$4" |