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