diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-07-28 16:37:30 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-07-28 16:37:30 -0300 |
commit | 749931b987f1e81d31c14e18c43081f44b5a2bca (patch) | |
tree | a4a2c9d8394f4a733efcf50ff2bf9318ce5de295 /pcr/postsrsd/postsrsd.service | |
parent | cec8a1cddabfaa4cc9f56631a50a028e1dbd03de (diff) | |
parent | 1f1c232541ccc261b8484cc4d72039b36ba323d2 (diff) | |
download | abslibre-749931b987f1e81d31c14e18c43081f44b5a2bca.tar.gz abslibre-749931b987f1e81d31c14e18c43081f44b5a2bca.tar.bz2 abslibre-749931b987f1e81d31c14e18c43081f44b5a2bca.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/~git/abslibre
Diffstat (limited to 'pcr/postsrsd/postsrsd.service')
-rw-r--r-- | pcr/postsrsd/postsrsd.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/postsrsd/postsrsd.service b/pcr/postsrsd/postsrsd.service new file mode 100644 index 000000000..e72f97045 --- /dev/null +++ b/pcr/postsrsd/postsrsd.service @@ -0,0 +1,15 @@ +[Unit] +Description=Postfix Sender Rewriting Scheme daemon + +[Service] +Type=forking +RuntimeDirectory=postsrsd +PIDFile=/run/postsrsd/postsrsd.pid +Environment=SRS_DOMAIN=localhost.localdomain SRS_FORWARD_PORT=10001 SRS_REVERSE_PORT=10002 SRS_SECRET=/etc/postsrsd/postsrsd.secret \ + SRS_EXCLUDE_DOMAINS= RUN_AS=postsrsd CHROOT=/run/postsrsd +EnvironmentFile=/etc/postsrsd/postsrsd.conf +ExecStart=/usr/bin/postsrsd -D -4 -f${SRS_FORWARD_PORT} -r${SRS_REVERSE_PORT} -d${SRS_DOMAIN} -s${SRS_SECRET} -u${RUN_AS} \ + -c${CHROOT} -X${SRS_EXCLUDE_DOMAINS} -p/run/postsrsd/postsrsd.pid + +[Install] +WantedBy=multi-user.target |