Просмотр исходного кода

Don't try to execute any non-executable file in LE postrenew dir.

Carl Meyer 8 лет назад
Родитель
Сommit
a636a43948
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      roles/common/files/etc_cron-monthly_letsencrypt-renew

+ 1
- 1
roles/common/files/etc_cron-monthly_letsencrypt-renew Просмотреть файл

@@ -19,7 +19,7 @@ done
19 19
 service apache2 start
20 20
 
21 21
 # Services that rely on LE certificates may need restarted and/or other actions.
22
-for script in $(find /etc/letsencrypt/postrenew/ -maxdepth 1 -type f); do
22
+for script in $(find /etc/letsencrypt/postrenew/ -maxdepth 1 -type f -executable); do
23 23
   echo "Executing ${script}."
24 24
   $script
25 25
 done

Загрузка…
Отмена
Сохранить