95f7f3
[Unit]
95f7f3
Description=Sendmail Mail Transport Agent
95f7f3
After=syslog.target network.target
95f7f3
Conflicts=postfix.service exim.service
95f7f3
Wants=sm-client.service
95f7f3
StartLimitIntervalSec=0
95f7f3
95f7f3
[Service]
95f7f3
Type=forking
95f7f3
PIDFile=/run/sendmail.pid
95f7f3
Environment=SENDMAIL_OPTS=-q1h
95f7f3
EnvironmentFile=-/etc/sysconfig/sendmail
95f7f3
ExecStartPre=-/etc/mail/make
95f7f3
ExecStartPre=-/etc/mail/make aliases
95f7f3
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
95f7f3
95f7f3
[Install]
95f7f3
WantedBy=multi-user.target
95f7f3
Also=sm-client.service