File: postsrsd.upstart.in

package info (click to toggle)
postsrsd 1.5-2%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 416 kB
  • sloc: ansic: 1,584; sh: 201; makefile: 22
file content (14 lines) | stat: -rw-r--r-- 548 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
description "Postfix Sender Rewriting Scheme daemon"
author "Timo Röhling <timo.roehling@gmx.de>"

start on (filesystem and net-device-up)
stop on runlevel [!2345]
respawn

script
	SRS_DOMAIN=`postconf -h mydomain || true`
	SRS_EXCLUDE_DOMAINS=
	. "@CONFIG_DIR@/@PROJECT_NAME@"
	exec @CMAKE_INSTALL_PREFIX@/sbin/@POSTSRSD@ -f "$SRS_FORWARD_PORT" -r "$SRS_REVERSE_PORT" -d "$SRS_DOMAIN" -s "$SRS_SECRET" -a "$SRS_SEPARATOR" -n "$SRS_HASHLENGTH" -N "$SRS_HASHMIN" -u "$RUN_AS" -c "$CHROOT" -l "$SRS_LISTEN_ADDR" -X"$SRS_EXCLUDE_DOMAINS"
end script