summarylogtreecommitdiffstats
path: root/mailcatcher.service
blob: ccf189cb4395391af53bf959364e46312ada960d (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Mailcatcher Service
After=network.target

[Service]
ExecStart=/usr/bin/mailcatcher --ip localhost --http-port 1080 --smtp-port 1025 --foreground --verbose
ExecStartPost=/usr/bin/sleep 1
ExecStop=/usr/bin/curl --silent --get --request DELETE localhost:1080

[Install]
WantedBy=multi-user.target