Przeglądaj źródła

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 7 lat temu
rodzic
commit
d90bc20690
1 zmienionych plików z 1 dodań i 1 usunięć
  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 Wyświetl plik

@@ -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'"



Ładowanie…
Anuluj
Zapisz