diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-03-16 22:21:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-16 22:21:15 +0300 |
commit | 0fb9d8b45fc195d8ee9b5c71dab96ee27ae09c48 (patch) | |
tree | 37e008ee2949ac083b0e9e886a97c6a080ea6463 /lets-encrypt | |
parent | a37b7cbedb5a023bfda59c1b795068aef09510d8 (diff) |
add date
Diffstat (limited to 'lets-encrypt')
-rw-r--r-- | lets-encrypt/test-new-config.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lets-encrypt/test-new-config.sh b/lets-encrypt/test-new-config.sh index e37a3445..443c1532 100644 --- a/lets-encrypt/test-new-config.sh +++ b/lets-encrypt/test-new-config.sh @@ -66,10 +66,10 @@ cat << CRONTAB > "$SCRIPTS/letsencryptrenew.sh" #!/bin/sh service apache2 stop if ! letsencrypt renew > /var/log/letsencrypt/renew.log 2>&1 ; then - echo "Let's Encrypt FAILED!"--$(date +%Y-%m-%d_%H:%M) >> /var/log/letsencrypt/cronjob.log + echo "Let's Encrypt FAILED!"--$DATE >> /var/log/letsencrypt/cronjob.log service apache2 start else - echo "Let's Encrypt SUCCESS!"--$(date +%Y-%m-%d_%H:%M) >> /var/log/letsencrypt/cronjob.log + echo "Let's Encrypt SUCCESS!"--$DATE >> /var/log/letsencrypt/cronjob.log service apache2 start fi CRONTAB |