Correct PLC and HMI process starting
This commit is contained in:
parent
7f91542eaf
commit
3bb6fd2ef8
1 changed files with 2 additions and 1 deletions
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue