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