Add trigger to Vagrantfile for rsync-auto

This commit is contained in:
Jan Philipp Timme 2019-11-24 01:06:31 +01:00
parent 2b4dfdc56d
commit 19bc42a02b
1 changed files with 8 additions and 0 deletions

8
Vagrantfile vendored
View File

@ -37,4 +37,12 @@ Vagrant.configure("2") do |config|
# That's it # That's it
echo "That's it. We're set up. Enjoy your test environment." echo "That's it. We're set up. Enjoy your test environment."
SHELL SHELL
config.trigger.after :up do |t|
t.info = "rsync auto"
t.run = {inline: "vagrant rsync-auto"}
# If you want it running in the background switch these
#t.run = {inline: "bash -c 'vagrant rsync-auto bork &'"}
end
end end