amavisd-milter/amavisd-milter.service

19 lines
428 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Amavisd Milter
Wants=amavisd.service
After=network.target
[Service]
PIDFile=/run/amavisd-milter/pid
Type=simple
User=vscan
Group=vscan
UMask=0007
RuntimeDirectory=amavisd-milter
RuntimeDirectoryMode=750
ExecStart=/usr/bin/amavisd-milter -f -p /run/amavisd-milter/pid -s unix:/run/amavisd-milter/socket -w /var/amavis/tmp -S /var/amavis/amavisd.sock -m 2
PrivateTmp=true
[Install]
WantedBy=multi-user.target