Browse Source

haproxy: make sure cron starts

multi_domain
ßingen 6 years ago
parent
commit
b5200701ca
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      images/haproxy/startup.sh

+ 2
- 0
images/haproxy/startup.sh View File

# remove default cron job # remove default cron job
mv /etc/cron.d/certbot /tmp mv /etc/cron.d/certbot /tmp


service cron status || service cron start

# Start HAProxy # Start HAProxy
haproxy -f $CFG_FILE haproxy -f $CFG_FILE

Loading…
Cancel
Save