From dda5ede99a8de9b4dd250048bc2b4794eada5d00 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Thu, 4 Jun 2020 11:37:02 -0700 Subject: [PATCH] Fixed bug with working directory --- agents/meshinstall-bsd-rcd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/meshinstall-bsd-rcd.sh b/agents/meshinstall-bsd-rcd.sh index 833e1876..141dfc32 100644 --- a/agents/meshinstall-bsd-rcd.sh +++ b/agents/meshinstall-bsd-rcd.sh @@ -8,9 +8,9 @@ name="meshagent" desc="MeshCentral Agent" rcvar=${name}_enable pidfile="/var/run/meshagent.pid" +meshagent_chdir="/usr/local/mesh" command="/usr/sbin/daemon" command_args="-P ${pidfile} -r -f /usr/local/mesh/meshagent " -command_chdir="/usr/local/mesh" load_rc_config $name : ${meshagent_enable="YES"}