From 15cc3e40ad11ae3464dc09183307b3b164b11562 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 28 Mar 2019 16:53:44 -0700 Subject: [PATCH] Fixed agent install script for linux. --- agents/meshinstall-initd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/agents/meshinstall-initd.sh b/agents/meshinstall-initd.sh index 7dd5dee7..31a39b79 100644 --- a/agents/meshinstall-initd.sh +++ b/agents/meshinstall-initd.sh @@ -21,6 +21,7 @@ start() { fi echo 'Starting serviceā€¦' >&2 local CMD="$SCRIPT &> \"$LOGFILE\" & echo \$!" + cd /usr/local/mesh su -c "$CMD" $RUNAS > "$PIDFILE" echo 'Service started' >&2 }