mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 02:19:27 +00:00
Cleanup mailer script that depended on boulder expiration-mailer (#193)
This commit is contained in:
1
cron_d
1
cron_d
@@ -2,7 +2,6 @@
|
||||
SHELL=/bin/bash
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
1 7 * * * root /opt/labca/mailer &>>/opt/logs/cron.log
|
||||
5 7 * * * root /opt/labca/checkrenew &>>/opt/logs/cron.log
|
||||
7 7 * * Sun root /opt/boulder/labca/certs/generate.sh &>>/opt/logs/cron.log
|
||||
11 7 * * Mon root /opt/labca/backup cron &>>/opt/logs/cron.log
|
||||
|
||||
9
mailer
9
mailer
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
TODAY=`date '+%Y_%m_%d'`
|
||||
echo "Running cron-$(basename $0) for ${TODAY}..."
|
||||
|
||||
cd /opt/boulder
|
||||
docker compose exec boulder bin/boulder expiration-mailer --config labca/config/expiration-mailer.json 2>&1
|
||||
@@ -86,6 +86,4 @@ for file in `find . -type f | grep -v .git`; do
|
||||
sed -i -e "s|test/|labca/|g" $file
|
||||
done
|
||||
|
||||
sed -i -e "s/names/name\(s\)/" config/expiration-mailer.gotmpl
|
||||
|
||||
rm -f test-ca2.pem
|
||||
|
||||
Reference in New Issue
Block a user