Bläddra i källkod

Correct certificate paths for ZNC

Mike Ashley 8 år sedan
förälder
incheckning
0302a8fa0a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      roles/ircbouncer/tasks/znc.yml

+ 1
- 1
roles/ircbouncer/tasks/znc.yml Visa fil

@@ -26,7 +26,7 @@
26 26
 
27 27
 - name: Update certificate renwal cron job
28 28
   lineinfile: dest=/etc/cron.monthly/letsencrypt-renew state=present
29
-    line="cat /etc/letsencrypt/live/{{ domain }}/{privkey,fullchain}.pem > /var/lib/znc/znc.pem; chown znc.znc /var/lib/znc/znc.pem; chmod 640 /var/lib/znc/znc.pem; service znc restart"
29
+    line="cat /etc/letsencrypt/live/{{ domain }}/{privkey,fullchain}.pem > /usr/lib/znc/znc.pem; chown znc.znc /usr/lib/znc/znc.pem; chmod 640 /usr/lib/znc/znc.pem; service znc restart"
30 30
     insertafter="EOF"
31 31
 
32 32
 - name: Ensure znc user and group can read cert

Laddar…
Avbryt
Spara