a25ef5c937
Replaced reload by restart, dropped ExecReload from sendmail.service Resolves: rhbz#719931 Switched to systemctl in NetworkManager dispatcher script Added ExecStartPre=-/etc/mail/make to sm-client.service Hardcoded daemon option (-bd) to sendmail.service, dropped the DAEMON var QUEUE var in /etc/sysconfig/sendmail replaced by SENDMAIL_OPTS var Added default preset (-q1h) to SENDMAIL_OPTS var
19 lines
544 B
Desktop File
19 lines
544 B
Desktop File
[Unit]
|
|
Description=Sendmail Mail Transport Client
|
|
After=syslog.target network.target sendmail.service
|
|
Wants=sendmail.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
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
|