mirror of
https://github.com/techahold/Meshcentral-Installer.git
synced 2026-05-21 14:02:15 +00:00
Update install.sh
This commit is contained in:
18
install.sh
18
install.sh
@@ -20,6 +20,24 @@ cd /opt/meshcentral
|
|||||||
npm install --save --save-exact meshcentral@1.1.9
|
npm install --save --save-exact meshcentral@1.1.9
|
||||||
sudo chown ${USER}:${USER} -R /opt/meshcentral
|
sudo chown ${USER}:${USER} -R /opt/meshcentral
|
||||||
|
|
||||||
|
rm /opt/meshcentral/package.json
|
||||||
|
|
||||||
|
mesh_pkg="$(
|
||||||
|
cat <<EOF
|
||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"acme-client": "4.2.5",
|
||||||
|
"archiver": "5.3.1",
|
||||||
|
"meshcentral": "1.1.9",
|
||||||
|
"otplib": "10.2.3",
|
||||||
|
"pg": "8.7.1",
|
||||||
|
"pgtools": "0.3.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
)"
|
||||||
|
echo "${mesh_pkg}" >/opt/meshcentral/package.json
|
||||||
|
|
||||||
meshservice="$(cat << EOF
|
meshservice="$(cat << EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=MeshCentral Server
|
Description=MeshCentral Server
|
||||||
|
|||||||
Reference in New Issue
Block a user