summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2022-12-02 22:14:25 -0500
committerAdam T. Carpenter <atc@53hor.net>2022-12-02 22:14:25 -0500
commit1991ab64a12120821953d3d7bcfc705674698692 (patch)
treee374b644bebfe71c79538953caa337f7a3f27580
parent17ec35eb7c5d1d3d4e0fc389aed03695328ace21 (diff)
downloadpigallery2-1991ab64a12120821953d3d7bcfc705674698692.tar.xz
pigallery2-1991ab64a12120821953d3d7bcfc705674698692.zip
fix: include ffmpeg location in pathHEADmaster
-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() {