You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
629 B
22 lines
629 B
[Unit] |
|
Description=Sendmail Mail Transport Agent |
|
After=syslog.target network.target |
|
Conflicts=postfix.service exim.service |
|
Wants=sm-client.service |
|
StartLimitIntervalSec=0 |
|
|
|
[Service] |
|
Type=forking |
|
PIDFile=/run/sendmail.pid |
|
Environment=SENDMAIL_OPTS=-q1h |
|
EnvironmentFile=-/etc/sysconfig/sendmail |
|
ExecStartPre=-/etc/mail/make |
|
ExecStartPre=-/etc/mail/make aliases |
|
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG |
|
ExecReload=/usr/bin/kill -HUP $MAINPID |
|
# hack to allow async reload to complete, otherwise systemd may signal error |
|
ExecReload=/usr/bin/sleep 2 |
|
|
|
[Install] |
|
WantedBy=multi-user.target |
|
Also=sm-client.service
|
|
|