Fixed agent install script for linux.

Ylian Saint-Hilaire committed Mar 28, 2019 at 16:53 UTC 246d24a92e9f749b16684de8f4599f4f1ef7c87e
1 file changed +1
agents/meshinstall-initd.sh
+1
@@ -21,6 +21,7 @@ start() {
21 fi
22 echo 'Starting service…' >&2
23 local CMD="$SCRIPT &> \"$LOGFILE\" & echo \$!"
24 + cd /usr/local/mesh
25 su -c "$CMD" $RUNAS > "$PIDFILE"
26 echo 'Service started' >&2
27 }