Correct PLC and HMI process starting

This commit is contained in:
flyingscorpio@clevo 2023-12-09 18:56:50 +01:00
parent 7f91542eaf
commit 3bb6fd2ef8

3
Vagrantfile vendored
View file

@ -82,7 +82,7 @@ Vagrant.configure("2") do |config|
# Run # Run
hmi.vm.provision "shell", privileged: false, run: "always", inline: <<-SHELL 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 SHELL
end end
@ -118,6 +118,7 @@ Vagrant.configure("2") do |config|
# Run # Run
plc.vm.provision "shell", privileged: false, run: "always", inline: <<-SHELL plc.vm.provision "shell", privileged: false, run: "always", inline: <<-SHELL
cd ~/GRFICSv2/plc_vm/OpenPLC_v2-master
sudo nodejs server.js & sudo nodejs server.js &
SHELL SHELL