How to start a mail loader when loading a stray box

I need to start mailcatcher when vagrant up complete.

I tried setting the setting for a roaming machine

 config.vm.provision "shell", inline: 'mailcatcher --ip=0.0.0.0' 

But he says unidentified command mailcatcher

+5
source share
1 answer

MailCatcher runs through /usr/bin/env mailcatcher , so

 config.vm.provision "shell", inline: '/usr/bin/env mailcatcher --ip=0.0.0.0' 

must work.

+4
source

Source: https://habr.com/ru/post/1212195/


All Articles