Skip to content
Snippets Groups Projects
Verified Commit b25381d6 authored by Stephane Bonnet's avatar Stephane Bonnet
Browse files

Added a simple test script

parent 09bbae17
No related branches found
No related tags found
2 merge requests!43WIP: Acme copy certs dev,!42Pica openldap dev
#!/usr/bin/env python3
import time
import cert_updater
import file_watcher
if __name__ == "__main__":
u = cert_updater.CertUpdater('./acme.json', '.')
f = file_watcher.FileWatcher('./acme.json', u.update)
u.add('pica01-test.picasoft.net')
f.start()
try:
while True:
time.sleep(1)
except KeyboardInterrupt:
f.stop()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment