vmail-stack/systemd/srsd.service

21 lines
547 B
SYSTEMD
Raw Normal View History

2022-08-22 13:34:20 -07:00
# 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]
2023-03-13 09:31:09 -07:00
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