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
-
https://gist.github.com/ysc3839/6e967c4541f585107eebb6bb777a7935
Place
lego.service
andlego.service
in/etc/systemd/system
.Place
config
in/var/lib/lego
andnginx-example.com.sh
in/var/lib/lego/scripts
.You should modify
config
andnginx-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 ... run
to 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