summarylogtreecommitdiffstats
path: root/mailcatcher.service
diff options
context:
space:
mode:
Diffstat (limited to 'mailcatcher.service')
-rw-r--r--mailcatcher.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/mailcatcher.service b/mailcatcher.service
index 82fe83701891..ccf189cb4395 100644
--- a/mailcatcher.service
+++ b/mailcatcher.service
@@ -4,6 +4,7 @@ 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]