From 3bb6fd2ef81d9735092a2ec9ab44f9bff2dd0cc9 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Sat, 9 Dec 2023 18:56:50 +0100 Subject: [PATCH] Correct PLC and HMI process starting --- Vagrantfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index c6ecab8..9a3fb73 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -82,7 +82,7 @@ Vagrant.configure("2") do |config| # Run hmi.vm.provision "shell", privileged: false, run: "always", inline: <<-SHELL - cd ScadaBR_Installer && sudo bash scadabr.sh start + sudo bash /opt/ScadaBR/scadabr.sh start SHELL end @@ -118,6 +118,7 @@ Vagrant.configure("2") do |config| # Run plc.vm.provision "shell", privileged: false, run: "always", inline: <<-SHELL + cd ~/GRFICSv2/plc_vm/OpenPLC_v2-master sudo nodejs server.js & SHELL