Commit 94b541e9 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Restart the service always

parent c9f0175c
......@@ -116,6 +116,7 @@ EnvironmentFile=/etc/default/sendmail
ExecStartPre=/bin/rm -f /var/spool/mqueue/xf*
ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $$SENDMAIL_OPTS $$SENDMAIL_OPTARG
ExecStartPost=sleep 3
Restart=always
[Install]
WantedBy=multi-user.target
......@@ -137,6 +138,7 @@ EnvironmentFile=/etc/default/sendmail
ExecStartPre=/usr/sbin/sendmail-init
ExecStart=/usr/sbin/sendmail -bd $$SENDMAIL_OPTS $$SENDMAIL_OPTARG
ExecStartPost=sleep 3
Restart=always
[Install]
WantedBy=multi-user.target
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment