I wrote a systemd timer for lego #1548
ysc3839
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://gist.github.com/ysc3839/6e967c4541f585107eebb6bb777a7935
Place
lego.serviceandlego.servicein/etc/systemd/system.Place
configin/var/lib/legoandnginx-example.com.shin/var/lib/lego/scripts.You should modify
configandnginx-example.com.sh.Finally execute
sudo systemctl enable lego.timer.Lego's files are stored in
/var/lib/lego. You need to create this directory and uselego ... runto create acme account.I'm using DNS challenge and didn't test HTTP challenge. Please tell me if it works.
Beta Was this translation helpful? Give feedback.
All reactions