From 1991ab64a12120821953d3d7bcfc705674698692 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Fri, 2 Dec 2022 22:14:25 -0500 Subject: fix: include ffmpeg location in path --- usr/local/etc/rc.d/pigallery2 | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/local') 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() { -- cgit v1.2.3