/lib/systemd/system/postsrsd.service is in postsrsd 1.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | [Unit]
Description=SRS lookup table for Postfix
After=network.target
[Service]
Type=simple
Environment=SRS_FORWARD_PORT=10001
Environment=SRS_REVERSE_PORT=10002
Environment=SRS_SECRET=/etc/postsrsd.secret
Environment=SRS_EXCLUDE_DOMAINS=
Environment=RUN_AS=nobody
Environment=CHROOT=/var/lib/postsrsd
EnvironmentFile=-/etc/default/postsrsd
ExecStart=/usr/sbin/postsrsd -f${SRS_FORWARD_PORT} -r${SRS_REVERSE_PORT} -s${SRS_SECRET} -X${SRS_EXCLUDE_DOMAINS} -u${RUN_AS} -c${CHROOT} -d${SRS_DOMAIN}
Restart=always
[Install]
WantedBy=multi-user.target
|