Skip to content

Instantly share code, notes, and snippets.

@auramo
Created March 8, 2016 11:40
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 auramo/74a9f0c106692921c8ac to your computer and use it in GitHub Desktop.
Save auramo/74a9f0c106692921c8ac to your computer and use it in GitHub Desktop.
Just store this under /etc/systemd/system/mailcatcher.service
[Unit]
Description=Mailcatcher service
After=network.target
[Service]
WorkingDirectory=/opt/node/apps/hela-webapp
ExecStart=/usr/local/bin/mailcatcher -f --smtp-port 2155 --http-ip=0.0.0.0 --http-port 8181 --smtp-ip=0.0.0.0
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mailcatcher
User=mailcatcher
Group=mailcatcher
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment