iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mostly fixes for new error handling
[distro-setup]
/
machine_specific
/
kd
/
filesystem
/
etc
/
cron.daily
/
check-lets-encrypt-ssl-settings
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 87e45c021940d716cee3a8bcdc3c863c8932c3a7..a3fbfc6b7da014e0df98d2f21b86148b4c642fdd 100755
(executable)
--- 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");
# 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.
# 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
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR