summarylogtreecommitdiffstats
path: root/mailcatcher-http@.service
diff options
context:
space:
mode:
authorJames An2015-06-11 14:25:55 -0400
committerJames An2015-06-11 14:25:55 -0400
commitd804950fe5cf42fcf2e7aa8e01b47f13647b4947 (patch)
tree7abdd8e11829689df6545d8db5906d983803097f /mailcatcher-http@.service
parentbcc9166c46492f57638d2d23b7d4a03bcec3d4d4 (diff)
downloadaur-d804950fe5cf42fcf2e7aa8e01b47f13647b4947.tar.gz
Updated ruby-mailcatcher and added to it systemd unit files to run as a socket-activated systemd service.
Diffstat (limited to 'mailcatcher-http@.service')
-rw-r--r--mailcatcher-http@.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/mailcatcher-http@.service b/mailcatcher-http@.service
new file mode 100644
index 000000000000..21d4a7373021
--- /dev/null
+++ b/mailcatcher-http@.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Mailcatcher HTTP Mapping Service
+Wants=mailcatcher.service
+After=network.target mailcatcher.service
+
+[Service]
+ExecStart=/usr/bin/nc localhost 1080
+StandardInput=socket
+StandardOutput=socket