Procházet zdrojové kódy

Use common path for systemctl in lets encrypt cron

Currently the nginx reload cron fails on Debian 9 because the path to
systemctl is /bin/systemctl rather than /usr/bin/systemctl.

CentOS 7 places systemctl in both /bin and /usr/bin, so we can just use
/bin/systemctl as the full path.
pull/118/head
Lee Verberne před 7 roky
rodič
revize
d90bc20690
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      roles/matrix-nginx-proxy/tasks/ssl/setup_ssl_lets_encrypt.yml

+ 1
- 1
roles/matrix-nginx-proxy/tasks/ssl/setup_ssl_lets_encrypt.yml Zobrazit soubor

@@ -92,7 +92,7 @@
hour: 4
minute: 20
day: "*/5"
job: /usr/bin/systemctl reload matrix-nginx-proxy.service
job: /bin/systemctl reload matrix-nginx-proxy.service
when: matrix_nginx_proxy_enabled
when: "matrix_ssl_retrieval_method == 'lets-encrypt'"



Načítá se…
Zrušit
Uložit