1 |
jcrisp |
1.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 |
|
|
|