From 54830f5eeae4c6ada3443cfecdb39fc43c799990 Mon Sep 17 00:00:00 2001 From: Junichi Satoh Date: Tue, 17 Aug 2021 16:18:04 +0900 Subject: [PATCH] Added PATH configuration. --- pandora_server/FreeBSD/pandora_server | 2 ++ pandora_server/FreeBSD/tentacle_server | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pandora_server/FreeBSD/pandora_server b/pandora_server/FreeBSD/pandora_server index aa85adc235..c0cea74859 100755 --- a/pandora_server/FreeBSD/pandora_server +++ b/pandora_server/FreeBSD/pandora_server @@ -17,6 +17,8 @@ . "/etc/rc.subr" +PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin + name="pandora_ha" rcvar=pandora_server_enable diff --git a/pandora_server/FreeBSD/tentacle_server b/pandora_server/FreeBSD/tentacle_server index db7ad33297..9457d1fe52 100755 --- a/pandora_server/FreeBSD/tentacle_server +++ b/pandora_server/FreeBSD/tentacle_server @@ -26,6 +26,8 @@ load_rc_config $name : ${tentacle_server_config="/usr/local/etc/tentacle/${name}.conf"} : ${tentacle_server_pidfile="/var/run/${name}.pid"} +PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin + command=/usr/local/bin/${name} command_interpreter=/usr/local/bin/perl tentacle_server_user=${tentacle_server_user:-"pandora"}