summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-09-23 22:29:18 +0800
committerIan Delaney <idella4@gentoo.org>2015-09-23 22:29:51 +0800
commitc8244c3de06e6a1b6ba8d3d179b1f77d39fce964 (patch)
tree01eb0cd0182758bfbc0c11d88968ddc9ed89c3e9 /mail-filter/postgrey/files/postgrey.service
parentmedia-video/ffmpeg: Add rubberband useflag. (diff)
downloadgentoo-c8244c3de06e6a1b6ba8d3d179b1f77d39fce964.tar.gz
gentoo-c8244c3de06e6a1b6ba8d3d179b1f77d39fce964.tar.bz2
gentoo-c8244c3de06e6a1b6ba8d3d179b1f77d39fce964.zip
mail-filter/postgrey: revbump to 1.35-r2
Inherit systemd eclass, add service for systemd, rm old versions, ack to Stefan G. Weichinger for submitting service file, fixes Bug 528032 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'mail-filter/postgrey/files/postgrey.service')
-rw-r--r--mail-filter/postgrey/files/postgrey.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail-filter/postgrey/files/postgrey.service b/mail-filter/postgrey/files/postgrey.service
new file mode 100644
index 000000000000..7321eee13adb
--- /dev/null
+++ b/mail-filter/postgrey/files/postgrey.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Postfix Greylisting Service
+Before=postfix.service
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/postgrey --inet=127.0.0.1:10030 \
+ --pidfile=/var/run/postgrey.pid \
+ --group=postgrey --user=postgrey \
+ --greylist-text="Greylisted for %%s seconds"
+Restart=always
+RestartSec=5
+TimeoutSec=10
+
+[Install]
+WantedBy=multi-user.target
+