vmail-stack/systemd/srsd.service
2022-08-22 13:34:20 -07:00

21 lines
547 B
Desktop File

# vmail-stack
# https://git.stack-source.com/msb/vmail-stack
# Copyright (c) 2022 Matthew Saunders Brown <matthewsaundersbrown@gmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
[Unit]
Description=Sender Rewriting Scheme Daemon
[Service]
Type=exec
User=Debian-exim
Group=Debian-exim
ExecStart=/usr/bin/srsd --secretfile /etc/exim4/srsd.secret --hashlength 24
PIDFile=/run/srsd/srsd.pid
Restart=on-failure
RuntimeDirectory=srsd
RuntimeDirectoryMode=0750
[Install]
WantedBy=multi-user.target