diff options
author | Timo Wilken | 2024-02-17 21:23:40 +0100 |
---|---|---|
committer | Timo Wilken | 2024-02-25 21:30:32 +0100 |
commit | e29e98b560907802715da8336d2e1e514f177188 (patch) | |
tree | 2bb2d3b974135301589ce647e25032eb672747f5 /tw/services | |
parent | d364d240ca5a4ce76bf74aee0d4fb71d2338fc20 (diff) |
Explicitly set PATH for php-fpm
This doesn't seem to be set by default (any more?). Nextcloud complains about
PATH being empty.
Diffstat (limited to 'tw/services')
-rw-r--r-- | tw/services/nextcloud.scm | 3 |
1 files changed, 2 insertions, 1 deletions
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 |