1 2 3 4 5 6 7 8 9 10 11
[Unit] Description=Mailhog - Web and API based SMTP testing After=syslog.target network.target [Service] ExecStart=/usr/local/bin/mailhog ExecReload=/bin/kill -USR2 $MAINPID User=nobody [Install] WantedBy=multi-user.target