2011-07-14 09:01:07 +00:00
|
|
|
[Unit]
|
2011-07-18 20:47:26 +00:00
|
|
|
Description=Sendmail Mail Transport Agent
|
2011-07-14 09:01:07 +00:00
|
|
|
After=syslog.target network.target
|
|
|
|
Conflicts=postfix.service exim.service
|
2011-07-18 20:47:26 +00:00
|
|
|
Wants=sm-client.service
|
2017-02-21 23:37:10 +00:00
|
|
|
StartLimitIntervalSec=0
|
2011-07-14 09:01:07 +00:00
|
|
|
|
|
|
|
[Service]
|
2011-07-18 20:47:26 +00:00
|
|
|
Type=forking
|
|
|
|
PIDFile=/run/sendmail.pid
|
2011-07-25 14:16:30 +00:00
|
|
|
Environment=SENDMAIL_OPTS=-q1h
|
2011-07-14 09:01:07 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/sendmail
|
|
|
|
ExecStartPre=-/etc/mail/make
|
|
|
|
ExecStartPre=-/etc/mail/make aliases
|
2011-07-25 14:16:30 +00:00
|
|
|
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
|
2011-07-14 09:01:07 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2011-11-23 13:58:17 +00:00
|
|
|
Also=sm-client.service
|