You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
255 B
13 lines
255 B
#!/bin/bash
|
|
set -e
|
|
#set -x
|
|
|
|
if [ "${LE_ENV}" == 'production' ]; then
|
|
echo "***** ${LE_ENV} *****"
|
|
sed -i 's@CA=.*@CA="https://acme-v01.api.letsencrypt.org/directory"@g' /etc/dehydrated/config
|
|
else
|
|
echo "***** staging *****"
|
|
fi
|
|
|
|
echo "${@}"
|
|
exec "${@}"
|
|
|