From 9400d7be2473524f8d2fa5160096e2ca1acd387e Mon Sep 17 00:00:00 2001 From: xenofem <xenofem@xeno.science> Date: Mon, 13 Apr 2020 11:17:42 -0400 Subject: [PATCH] Use full path for certbot-auto in cronjob --- tasks/nginx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/nginx.yml b/tasks/nginx.yml index 08e76fe..14bc09c 100644 --- a/tasks/nginx.yml +++ b/tasks/nginx.yml @@ -40,7 +40,7 @@ cron: name: funkwhale_letsencrypt_renewal special_time: weekly - job: certbot-auto -v -n --renew certonly --nginx -m {{ funkwhale_letsencrypt_email }} --agree-tos -d {{ funkwhale_hostname }} {{ funkwhale_letsencrypt_certbot_flags }} + job: /usr/local/bin/certbot-auto -v -n --renew certonly --nginx -m {{ funkwhale_letsencrypt_email }} --agree-tos -d {{ funkwhale_hostname }} {{ funkwhale_letsencrypt_certbot_flags }} - name: "Create funkwhale proxy file" when: funkwhale_nginx_managed -- GitLab