fixup! Make sure we run things in screen
This commit is contained in:
parent
eaa9165437
commit
f9a87a50eb
1 changed files with 2 additions and 2 deletions
4
Vagrantfile
vendored
4
Vagrantfile
vendored
|
@ -51,7 +51,7 @@ Vagrant.configure("2") do |config|
|
|||
# Run
|
||||
simulation.vm.provision "shell", privileged: false, run: "always", inline: <<-SHELL
|
||||
cd ~/GRFICSv2/simulation_vm/simulation
|
||||
./simulation &
|
||||
screen -d -m ./simulation
|
||||
cd ~/GRFICSv2/simulation_vm/simulation/remote_io/modbus
|
||||
sed -i 's/user/vagrant/' run_all.sh
|
||||
screen -d -m sudo bash run_all.sh
|
||||
|
@ -83,7 +83,7 @@ Vagrant.configure("2") do |config|
|
|||
|
||||
# Run
|
||||
hmi.vm.provision "shell", privileged: false, run: "always", inline: <<-SHELL
|
||||
screen -d -m sudo bash /opt/ScadaBR/scadabr.sh start
|
||||
sudo bash /opt/ScadaBR/scadabr.sh start
|
||||
SHELL
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue