feat: add acme.sh role
This commit is contained in:
parent
1b2a39518b
commit
2950835407
4 changed files with 85 additions and 0 deletions
7
roles/acme.sh/files/acme.sh-reload.service
Normal file
7
roles/acme.sh/files/acme.sh-reload.service
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This service cannot and should not be enabled directly.
|
||||
[Unit]
|
||||
Description=Reload NGINX on command from acme.sh
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/systemctl restart nginx
|
||||
ExecStart=/usr/bin/rm /srv/acme.sh/.reload
|
||||
Loading…
Add table
Add a link
Reference in a new issue