mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 04:33:16 +03:00
Fixed bug with working directory
This commit is contained in:
parent
8f8d48aeeb
commit
dda5ede99a
@ -8,9 +8,9 @@ name="meshagent"
|
|||||||
desc="MeshCentral Agent"
|
desc="MeshCentral Agent"
|
||||||
rcvar=${name}_enable
|
rcvar=${name}_enable
|
||||||
pidfile="/var/run/meshagent.pid"
|
pidfile="/var/run/meshagent.pid"
|
||||||
|
meshagent_chdir="/usr/local/mesh"
|
||||||
command="/usr/sbin/daemon"
|
command="/usr/sbin/daemon"
|
||||||
command_args="-P ${pidfile} -r -f /usr/local/mesh/meshagent "
|
command_args="-P ${pidfile} -r -f /usr/local/mesh/meshagent "
|
||||||
command_chdir="/usr/local/mesh"
|
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
: ${meshagent_enable="YES"}
|
: ${meshagent_enable="YES"}
|
||||||
|
Loading…
Reference in New Issue
Block a user