-
-
Save ScottPhillips/4c29000315808ce4e9da578553040187 to your computer and use it in GitHub Desktop.
Mailhog Bash Script
This file contains hidden or 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
| #!/usr/bin/env bash | |
| echo ">>> Installing Mailhog" | |
| # Download binary from github | |
| wget --quiet -O ~/mailhog https://github.com/mailhog/MailHog/releases/download/v0.2.1/MailHog_linux_amd64 | |
| # Make it executable | |
| chmod +x ~/mailhog | |
| # Make it start on reboot | |
| sudo tee /etc/init/mailhog.conf <<EOL | |
| description "Mailhog" | |
| start on runlevel [2345] | |
| stop on runlevel [!2345] | |
| respawn | |
| pre-start script | |
| exec su - vagrant -c "/usr/bin/env ~/mailhog > /dev/null 2>&1 &" | |
| end script | |
| EOL | |
| # Start it now in the background | |
| sudo service mailhog start |
This is really insightful! It’s always inspiring to see discussions about leadership, strategy, and making a real impact in any field. Taking the time to reflect on these points really highlights how thoughtful planning and the right team can drive meaningful change. painful relationship pati patni emotional quotes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ngl, MailHog is such a clutch tool when you’re testing emails locally. No more accidentally blasting real inboxes while debugging 😂. It keeps everything in one clean spot so you can check formatting, links, and templates without stress. emotional oriya sad shayari