Last active
September 4, 2018 19:46
-
-
Save gsouf/845feca97655dc8092975b14473a4e7e to your computer and use it in GitHub Desktop.
Mailhog upstart script to beplaced in /etc/init/mailhog.conf
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 "mailhog" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
exec start-stop-daemon --start --make-pidfile --pidfile /var/run/mailhog.pid --exec /usr/local/bin/mailhog >> /var/log/mailhog.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment