/[smecontribs]/rpms/smeserver-qmHandle/contribs10/smeserver-qmHandle-1.4-bz12148-add-systemd-capability.patch
ViewVC logotype

Contents of /rpms/smeserver-qmHandle/contribs10/smeserver-qmHandle-1.4-bz12148-add-systemd-capability.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Aug 18 09:16:34 2022 UTC (2 years, 3 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-qmHandle-1_4-22_el7_sme, smeserver-qmHandle-1_4-21_el7_sme, smeserver-qmHandle-1_4-24_el7_sme, smeserver-qmHandle-1_4-23_el7_sme, smeserver-qmHandle-1_4-25_el7_sme, smeserver-qmHandle-1_4-20_el7_sme, smeserver-qmHandle-1_4-18_el7_sme, smeserver-qmHandle-1_4-19_el7_sme, HEAD
Error occurred while calculating annotation data.
* Thu Aug 18 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.4-18.sme
- Add systemd Capability to qmHandle [SME: 12148]

1 diff -ruN smeserver-qmHandle-1.4.old/root/usr/bin/qmHandle smeserver-qmHandle-1.4/root/usr/bin/qmHandle
2 --- smeserver-qmHandle-1.4.old/root/usr/bin/qmHandle 2022-08-16 16:27:00.688051724 +0100
3 +++ smeserver-qmHandle-1.4/root/usr/bin/qmHandle 2022-08-17 11:40:59.207941631 +0100
4 @@ -32,12 +32,12 @@
5 #my ($stopqmail) = '/usr/local/bin/svc -d /service/qmail';
6 #my ($startqmail) = '/usr/local/bin/svc -u /service/qmail';
7
8 -# For SME server 7 and 8 this is now sv instead of svc
9 -my ($stopqmail) = '/usr/bin/sv -v down qmail';
10 -my ($startqmail) = '/usr/bin/sv -v up qmail';
11 +# For SME server 10 we now use systemd
12 +my ($stopqmail) = '/usr/bin/systemctl stop qmail.service';
13 +my ($startqmail) = '/usr/bin/systemctl start qmail.service';
14
15 -my ($stopaltqmail) = '/usr/bin/sv -v down altqmail';
16 -my ($startaltqmail) = '/usr/bin/sv -v up altqmail';
17 +my ($stopaltqmail) = '/usr/bin/systemctl stop altqmail.service';
18 +my ($startaltqmail) = '/usr/bin/systemctl start altqmail.service';
19
20 # While this is if you have a Debian GNU/Linux with its qmail package
21 #my ($stopqmail) = '/etc/init.d/qmail stop';
22

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed