When using a redmine plugin that utilises executables from other ports, in the OOB installation those executables won't be found because the default
This means that the entire nginx instance sees the modified path.
Is anyone aware of a better method to provide an appropriate $PATH directly to (say) a passenger(?) app, rather than having to pass it to nginx?
I'm running into this when using the redmine plugin redmine_more_previews which uses e.g. libreoffice, imagemagick, etc, to provide previews of files/documents attached to issues.
$PATH
passed to nginx doesn't include /usr/local/bin
. The only work-around I'm aware of is to add nginx_env="PATH=\$PATH:/usr/local/bin"
to /etc/rc.conf
This means that the entire nginx instance sees the modified path.
Is anyone aware of a better method to provide an appropriate $PATH directly to (say) a passenger(?) app, rather than having to pass it to nginx?
I'm running into this when using the redmine plugin redmine_more_previews which uses e.g. libreoffice, imagemagick, etc, to provide previews of files/documents attached to issues.