Skip to content

Instantly share code, notes, and snippets.

@KakersUK
Created March 1, 2017 17:25
Show Gist options
  • Save KakersUK/95650feda1b6c0de3757530276c091f8 to your computer and use it in GitHub Desktop.
Save KakersUK/95650feda1b6c0de3757530276c091f8 to your computer and use it in GitHub Desktop.
/etc/systemd/system/mailcatcher.service
[Unit]
Description=Mailcatcher Service
Before=httpd.service
After=network.target
[Service]
Type=simple
User=mailcatcher
ExecStart=/usr/local/bin/mailcatcher -f --no-quit --smtp-ip=127.0.0.1 --smtp-port=1025 --http-ip=127.0.0.1 --http-port=1080
Restart=on-abort
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment