summaryrefslogtreecommitdiff
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/etc/rc.d/pigallery21
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/etc/rc.d/pigallery2 b/usr/local/etc/rc.d/pigallery2
index daed768..8d04a4a 100755
--- a/usr/local/etc/rc.d/pigallery2
+++ b/usr/local/etc/rc.d/pigallery2
@@ -17,6 +17,7 @@ load_rc_config $name
script_js="/usr/local/www/pigallery2/src/backend/index.js"
script_opts="--config-path ${pigallery2_config}"
command_args="-o /var/log/${name}.log -c -f -P ${pidfile} ${node} ${script_js} ${script_opts}"
+pigallery2_env="PATH=/usr/local/bin:$PATH"
start_precmd="${name}_precmd"
pigallery2_precmd() {