X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=machine_specific%2Fkd%2Ffilesystem%2Fetc%2Fcron.daily%2Fcheck-lets-encrypt-ssl-settings;h=a3fbfc6b7da014e0df98d2f21b86148b4c642fdd;hb=7d5e9e87105fafa2243603f958c8b41cdaa7f0ad;hp=87e45c021940d716cee3a8bcdc3c863c8932c3a7;hpb=2d3ce30754a3f24d922635647bab4990b60f5c27;p=distro-setup diff --git a/machine_specific/kd/filesystem/etc/cron.daily/check-lets-encrypt-ssl-settings b/machine_specific/kd/filesystem/etc/cron.daily/check-lets-encrypt-ssl-settings index 87e45c0..a3fbfc6 100755 --- a/machine_specific/kd/filesystem/etc/cron.daily/check-lets-encrypt-ssl-settings +++ b/machine_specific/kd/filesystem/etc/cron.daily/check-lets-encrypt-ssl-settings @@ -1,4 +1,4 @@ -#!/bin/bash -l +#!/bin/bash # Copyright (C) 2016 Ian Kelling # Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +source ~/.bashrc + set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR