https://bugs.koozali.org/show_bug.cgi?id=12148

--- Comment #5 from John Crisp <[email protected]> ---
So had a quick look at this.

If we look at the qmHandle script we can see this:

grep -Ev "^#|^$"
~/smecontribs/rpms/smeserver-qmHandle/contribs10/smeserver-qmHandle-1.4/root/usr/bin/qmHandle


my ($stopqmail) = '/usr/bin/sv -v down qmail';
my ($startqmail) = '/usr/bin/sv -v up qmail';
my ($stopaltqmail) = '/usr/bin/sv -v down altqmail';
my ($startaltqmail) = '/usr/bin/sv -v up altqmail';



And we can look at what the 'systemd' service does:

cat /usr/lib/systemd/system/qmail.service

Type=oneshot
ExecStartPre=/sbin/e-smith/service-status qmail
ExecStart=/usr/bin/sv u /service/qmail
ExecStop=/usr/bin/sv stop /service/qmail
ExecReload=/usr/bin/sv t /service/qmail
RemainAfterExit=yes


So I guess we should either modify qmHandle to use the same commands as the
systemd unit file, or actually use the systemd unit file itself.

I've been trying to get a mail stuck in the queue to test but can't do it as
yet!!

Perhaps JP can comment here?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to