From e29e98b560907802715da8336d2e1e514f177188 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sat, 17 Feb 2024 21:23:40 +0100 Subject: Explicitly set PATH for php-fpm This doesn't seem to be set by default (any more?). Nextcloud complains about PATH being empty. --- tw/services/nextcloud.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tw/services/nextcloud.scm') diff --git a/tw/services/nextcloud.scm b/tw/services/nextcloud.scm index 555ea2d2..4347b100 100644 --- a/tw/services/nextcloud.scm +++ b/tw/services/nextcloud.scm @@ -278,7 +278,8 @@ opcache.revalidate_freq=120 (service (@ (tw services php-fpm) php-fpm-service-type) ((@ (tw services php-fpm) php-fpm-configuration) (environment-variables ; Nextcloud News needs this. - `(("SSL_CERT_DIR" . ,(file-append nss-certs "/etc/ssl/certs")))) + `(("SSL_CERT_DIR" . ,(file-append nss-certs "/etc/ssl/certs")) + ("PATH" . "/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin"))) (php-ini-file %nextcloud-php.ini))) (simple-service 'nextcloud-certificates certbot-service-type -- cgit v1.2.3