f67e08
[Unit]
f67e08
Description=Sendmail Mail Transport Client
f67e08
After=syslog.target network.target sendmail.service
f67e08
Conflicts=postfix.service exim.service
f67e08
BindTo=sendmail.service
f67e08
f67e08
[Service]
f67e08
Type=forking
f67e08
StartLimitInterval=0
f67e08
PIDFile=/run/sm-client.pid
f67e08
Environment=SENDMAIL_OPTS=-q1h
f67e08
EnvironmentFile=-/etc/sysconfig/sendmail
f67e08
ExecStartPre=/bin/touch /run/sm-client.pid
f67e08
ExecStartPre=/bin/chown smmsp:smmsp /run/sm-client.pid
f67e08
ExecStartPre=-/sbin/restorecon /run/sm-client.pid
f67e08
ExecStartPre=-/etc/mail/make
f67e08
ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $SENDMAIL_OPTS $SENDMAIL_OPTARG
f67e08
f67e08
[Install]
f67e08
WantedBy=multi-user.target