Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

postsrsd.systemd.in 786B

1234567891011121314151617181920212223
  1. [Unit]
  2. Description=PostSRSd Daemon
  3. [Service]
  4. Type=simple
  5. Restart=always
  6. # Fallback defaults.
  7. Environment=SRS_DOMAIN=localhost.localdomain
  8. Environment=SRS_EXCLUDE_DOMAINS=
  9. # Fill in a default value for SRS_DOMAIN using postconf.
  10. RuntimeDirectory=@PROJECT_NAME@
  11. ExecStartPre=/bin/sh -c '{ echo -n SRS_DOMAIN= ; postconf -h mydomain ; } >/run/@PROJECT_NAME@/default'
  12. EnvironmentFile=-/run/@PROJECT_NAME@/default
  13. # Load the real configuration.
  14. EnvironmentFile=@CONFIG_DIR@/@PROJECT_NAME@
  15. ExecStart=@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}"
  16. [Install]
  17. WantedBy=multi-user.target