Added PATH configuration.

This commit is contained in:
Junichi Satoh 2021-08-17 16:18:04 +09:00
parent e75db62389
commit 54830f5eea
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@
. "/etc/rc.subr"
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
name="pandora_ha"
rcvar=pandora_server_enable

View File

@ -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"}