Use custom path to modules ?
Closed this issue · 2 comments
PietroDR commented
At the moment, modules are installed in user directory. But my problem is that www-data user can't install modules properly with plowmod and I don't want to create a directory in /var/www.
Would it be possible to use a custom path to modules ?
mcrapet commented
Hi,
Actually it's not exported (it uses $XDG_CONFIG_HOME
).
Edit core.sh
line 28 and change to your need:
# User configuration directory (contains plowshare.conf, exec/, storage/, modules.d/) declare -r PLOWSHARE_CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}/plowshare"
PietroDR commented
Thank you, it works like a charm !