diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-10-03 14:24:59 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-10-03 14:25:29 +0200 |
commit | 6380f83b6aa3cdb85211e79686d719943661ca92 (patch) | |
tree | f4866286b5f87edb9e70240e69f9bb13e5023669 /mail-filter/postfwd/files | |
parent | net-misc/minidlna: Merge "Fix typo in OpenRC runscripts" (diff) | |
download | gentoo-6380f83b6aa3cdb85211e79686d719943661ca92.tar.gz gentoo-6380f83b6aa3cdb85211e79686d719943661ca92.tar.bz2 gentoo-6380f83b6aa3cdb85211e79686d719943661ca92.zip |
mail-filter/postfwd: Install systemd unit file (#528034 by Stefan G. Weichinger)
Package-Manager: portage-2.2.22
Diffstat (limited to 'mail-filter/postfwd/files')
-rw-r--r-- | mail-filter/postfwd/files/postfwd.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail-filter/postfwd/files/postfwd.service b/mail-filter/postfwd/files/postfwd.service new file mode 100644 index 000000000000..376e8d2da320 --- /dev/null +++ b/mail-filter/postfwd/files/postfwd.service @@ -0,0 +1,11 @@ +[Unit] +Description=Postfix firewall daemon + +[Service] +Type=forking +ExecStart=/usr/sbin/postfwd2 --shortlog --summary=600 --cache=600 --cache-rbl-timeout=3600 --cleanup-requests=1200 --cleanup-rbls=1800 --cleanup-rates=1200 --daemon --file=/etc/postfwd/postfwd.cf --interface=127.0.0.1 --port=10040 --pidfile=/var/run/postfwd.pid --user=postfwd --group=postfwd +ExecStop=/usr/sbin/postfwd2 --file=/etc/postfwd/postfwd.cf --pidfile=/var/run/postfwd.pid --kill +ExecReload=/usr/sbin/postfwd2 --file=/etc/postfwd/postfwd.cf --pidfile=/var/run/postfwd.pid --reload + +[Install] +WantedBy=multi-user.target |