From 46ceac417f2d23814936ce8d805f719376905fcf Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Thu, 17 Aug 2023 23:23:12 +0100 Subject: [PATCH] Update install.sh --- install.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/install.sh b/install.sh index 889f14e..6bc1328 100644 --- a/install.sh +++ b/install.sh @@ -20,6 +20,24 @@ cd /opt/meshcentral npm install --save --save-exact meshcentral@1.1.9 sudo chown ${USER}:${USER} -R /opt/meshcentral +rm /opt/meshcentral/package.json + +mesh_pkg="$( + cat </opt/meshcentral/package.json + meshservice="$(cat << EOF [Unit] Description=MeshCentral Server