暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_letsencrypt_postrenew_znc.sh.j2 233B

1234567
  1. #!/bin/bash
  2. # Executed by /etc/cron.daily/letsencrypt-renew
  3. cat /etc/letsencrypt/live/{{ domain }}/{privkey,fullchain}.pem > /usr/lib/znc/znc.pem
  4. chown znc.znc /usr/lib/znc/znc.pem
  5. chmod 640 /usr/lib/znc/znc.pem
  6. service znc restart