sendmail/sendmail.service
Jaroslav Škarvada a25ef5c937 Fixed systemctl disable command in preun section
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
2011-07-25 16:16:30 +02:00

18 lines
438 B
Desktop File

[Unit]
Description=Sendmail Mail Transport Agent
After=syslog.target network.target
Conflicts=postfix.service exim.service
Wants=sm-client.service
[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
[Install]
WantedBy=multi-user.target