diff options
author | Adam T. Carpenter <atc@53hor.net> | 2022-12-02 22:14:25 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2022-12-02 22:14:25 -0500 |
commit | 1991ab64a12120821953d3d7bcfc705674698692 (patch) | |
tree | e374b644bebfe71c79538953caa337f7a3f27580 | |
parent | 17ec35eb7c5d1d3d4e0fc389aed03695328ace21 (diff) | |
download | pigallery2-1991ab64a12120821953d3d7bcfc705674698692.tar.xz pigallery2-1991ab64a12120821953d3d7bcfc705674698692.zip |
-rwxr-xr-x | usr/local/etc/rc.d/pigallery2 | 1 |
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() { |