Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

postsrsd.upstart.in 563B

1234567891011121314151617181920
  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. env DEFAULTFILE=/etc/default/@PROJECT_NAME@
  7. script
  8. SRS_DOMAIN=`postconf -h mydomain || true`
  9. SRS_FORWARD_PORT=10001
  10. SRS_REVERSE_PORT=10002
  11. SRS_SECRET=/etc/@PROJECT_NAME@.secret
  12. RUN_AS=nobody
  13. if [ -r "$DEFAULTFILE" ]; then
  14. . "$DEFAULTFILE"
  15. fi
  16. exec @CMAKE_INSTALL_PREFIX@/sbin/@POSTSRSD@ -4 -f$SRS_FORWARD_PORT -r$SRS_REVERSE_PORT -d$SRS_DOMAIN -s$SRS_SECRET -u$RUN_AS
  17. end script