Skip to content

Commit

Permalink
fix crontab not running
Browse files Browse the repository at this point in the history
  • Loading branch information
zgfh authored May 31, 2018
1 parent e89682c commit 5c1a834
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if [[ "$SECRET_KEY" == "" ]];then
echo "please set env: SECRET_KEY"
exit 1
fi
service cron start

mkdir -p /ssl/${DOMAIN}/
touch /var/log/acme.sh.log
Expand All @@ -23,4 +24,4 @@ $acme --installcert -d ${DOMAIN} \
--reloadcmd "python /app/update_cdn_sslcert.py" --debug --log "/var/log/acme.sh.log"


tail -f /var/log/acme.sh.log
tail -f /var/log/acme.sh.log

0 comments on commit 5c1a834

Please sign in to comment.