summarylogtreecommitdiffstats
path: root/sm-client.service
blob: 3d43a00e1808374a5b3cbaaec583d4ae3ab33cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Sendmail Mail Transport Client
After=syslog.target network.target sendmail.service
Conflicts=postfix.service exim.service
BindsTo=sendmail.service

[Service]
Type=forking
PIDFile=/var/spool/clientmqueue/sm-client.pid
EnvironmentFile=/etc/conf.d/sendmail
ExecStartPre=/usr/bin/rm -f /var/spool/mqueue/xf*
ExecStart=/usr/sbin/sendmail $CLIENTMQUEUE_OPTS > /dev/null 2>&1

[Install]
WantedBy=multi-user.target