-
-
Save wongyouth/e612289093bf67d94459 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Mailcatcher" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
pre-start script | |
bash << "EOF" | |
mkdir -p /var/log/mailcatcher | |
chown -R vagrant /var/log/mailcatcher | |
EOF | |
end script | |
exec su - vagrant -c 'mailcatcher -f --ip=0.0.0.0 &>>/var/log/mailcatcher/mailcatcher.log' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment