update to debian 9

This commit is contained in:
Joachim Lusiardi 2019-06-03 09:06:27 +02:00
parent 0a7b356df5
commit 83019c66e1
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,10 @@
FROM debian8_python3 FROM debian:9
MAINTAINER Joachim Lusiardi MAINTAINER Joachim Lusiardi
RUN apt-get update; \ RUN apt-get update; \
apt-get install -y \ apt-get install -y \
python3-pip \
git \ git \
haproxy; \ haproxy; \
git clone https://github.com/letsencrypt/letsencrypt ;\ git clone https://github.com/letsencrypt/letsencrypt ;\

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3.4 #!/usr/bin/env python3
import os import os
import json import json
@ -147,7 +147,6 @@ def cert_watcher():
ssl_active = ssl_possible() and is_haproxy_running() ssl_active = ssl_possible() and is_haproxy_running()
cert_file_hash = hash_cert_file() cert_file_hash = hash_cert_file()
while True: while True:
logging.info('ping')
time.sleep(delay) time.sleep(delay)
if not ssl_active: if not ssl_active: