mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-19 02:05:21 -04:00
Fixed agent install script for linux.
This commit is contained in:
parent
7d38f045e6
commit
246d24a92e
@ -21,6 +21,7 @@ start() {
|
|||||||
fi
|
fi
|
||||||
echo 'Starting service…' >&2
|
echo 'Starting service…' >&2
|
||||||
local CMD="$SCRIPT &> \"$LOGFILE\" & echo \$!"
|
local CMD="$SCRIPT &> \"$LOGFILE\" & echo \$!"
|
||||||
|
cd /usr/local/mesh
|
||||||
su -c "$CMD" $RUNAS > "$PIDFILE"
|
su -c "$CMD" $RUNAS > "$PIDFILE"
|
||||||
echo 'Service started' >&2
|
echo 'Service started' >&2
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user