Skip to content

Instantly share code, notes, and snippets.

@gsouf
Last active September 4, 2018 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsouf/845feca97655dc8092975b14473a4e7e to your computer and use it in GitHub Desktop.
Save gsouf/845feca97655dc8092975b14473a4e7e to your computer and use it in GitHub Desktop.
Mailhog upstart script to beplaced in /etc/init/mailhog.conf
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