Browse Source

* ignore reload script if missing

master
Alex 'AdUser' Z 3 years ago
parent
commit
8d2665cdfa
  1. 7
      hook.sh

7
hook.sh

@ -241,7 +241,12 @@ function deploy_cert {
# reload services
echo " + Reloading Services"
"$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/reload.sh" "$@"
RELOAD_SH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/reload.sh"
if [ -f $RELOAD_SH -a -x $RELOAD_SH ]; then
$RELOAD_SH "$@"
else
echo " * missing script for services reload, ignoring"
fi
# send email notification
send_notification $DOMAIN

Loading…
Cancel
Save