I'm trying to set up my system to automatically boot my two main Vagrant boxes when my computer turns on but it's throwing an error saying no such file or directory when I added this to the bottom of ~/.profile
bash cd ~/Develop/Websites/scotch && vagrant up
bash cd ~/Develop/Websites/homestead && vagrant up
I can paste that line (minus the bash) into a terminal though and it works fine.
I'm told I shouldn't use ~/.profile for this and should possibly use a cron @reboot.
How would I format that since it's not a script that runs necessarily? It's not a file you run, it's a command that has to be in a specific folder.
bash -c 'cd ~/Develop/Websites/scotch && vagrant up'
andbash -c 'cd ~/Develop/Websites/homestead && vagrant up'
– Terrance Jun 02 '17 at 15:45bash -c ' '
on theExec=
lines. Oh, and I would use the full path to the files/home/username/Develop/.....
– Terrance Jun 02 '17 at 16:08