You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

postsrsd.upstart.in 526B

1234567891011121314
  1. description "Postfix Sender Rewriting Scheme daemon"
  2. author "Timo Röhling <timo.roehling@gmx.de>"
  3. start on (filesystem and net-device-up)
  4. stop on runlevel [!2345]
  5. respawn
  6. script
  7. SRS_DOMAIN=`postconf -h mydomain || true`
  8. SRS_EXCLUDE_DOMAINS=
  9. . "@CONFIG_DIR@/@PROJECT_NAME@"
  10. 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" -X"$SRS_EXCLUDE_DOMAINS"
  11. end script