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

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

[Install]
WantedBy=multi-user.target