vmail-stack/systemd/srsd.service
Matthew Saunders Brown af0c34e64b fix srsd service type
2023-03-13 09:31:09 -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