sendmail/sm-client.service
Jaroslav Škarvada 80a10db498 Removed dots from description (there are no dots in systemd packaging
guidelines)
Changed service type to forking and explicitly specified PID files
Fixed creation of sm-client.pid
Added Wants to sm-client.service and sendmail.service
Replaced each occurrence of /var/run by /run in config files
More details are available in rhbz#697636
2011-07-18 22:47:26 +02:00

17 lines
476 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
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
ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $QUEUE $SENDMAIL_OPTARG
[Install]
WantedBy=multi-user.target