fixup! Make sure we run things in screen

This commit is contained in:
flyingscorpio@clevo 2023-12-12 14:10:26 +01:00
parent eaa9165437
commit f9a87a50eb

4
Vagrantfile vendored
View file

@ -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