lkundrak / rpms / sendmail

Forked from rpms/sendmail 4 years ago
Clone
fb3e4b9
[Unit]
80a10db
Description=Sendmail Mail Transport Agent
fb3e4b9
After=syslog.target network.target
fb3e4b9
Conflicts=postfix.service exim.service
80a10db
Wants=sm-client.service
7373cc5
StartLimitIntervalSec=0
fb3e4b9
fb3e4b9
[Service]
80a10db
Type=forking
80a10db
PIDFile=/run/sendmail.pid
a25ef5c
Environment=SENDMAIL_OPTS=-q1h
fb3e4b9
EnvironmentFile=-/etc/sysconfig/sendmail
fb3e4b9
ExecStartPre=-/etc/mail/make
fb3e4b9
ExecStartPre=-/etc/mail/make aliases
a25ef5c
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
c985dea
ExecReload=/usr/bin/kill -HUP $MAINPID
c985dea
# hack to allow async reload to complete, otherwise systemd may signal error
c985dea
ExecReload=/usr/bin/sleep 2
fb3e4b9
fb3e4b9
[Install]
fb3e4b9
WantedBy=multi-user.target
9e72108
Also=sm-client.service