opensuse 42/1
linux 4.1.34-33-default x86_64
cgatepro 6.1.11
CGPro (a mail server) uses the script in </etc/init.d/CommuniGate> for starting and stopping itself. This is not a problem during system startup.
Shutdown, however, is not so smooth. The system seems to think that it has sent cgpro a quit request and waits up to 5 minutes for it to do it; a rather tiresome wait. After the timeout the system simply shuts down.
Such an arbitrary termination occasionally causes mail folders to move around. (!?!) I know! Weird!
How do I determine what command the system is using to stop cgpro?
$ systemctl status CommuniGate
CommuniGate.service - LSB: CommuniGate Pro Communication Server
Loaded: loaded (/etc/init.d/CommuniGate)
Active: active (running) since Sun 2016-11-13 15:40:19 MST; 19h ago
CGroup: /system.slice/CommuniGate.service
├─1821 /opt/CommuniGate/CGServer --Base /data01/var/CommuniGate --Daemon
├─2869 /usr/bin/perl DMARC.pl
├─2870 /usr/bin/perl helper_DKIM_verify.pl
├─2871 /usr/bin/perl helper_DKIM_sign.pl
└─3375 /usr/bin/perl DMARC.pl
Nov 13 15:40:19 sma-server3 CommuniGate[1813]: Starting CommuniGate Pro Server… Started.
Nov 13 15:40:19 sma-server3 CommuniGatePro[1821]: CommuniGate Pro server 6.1.11 started
Nov 13 15:40:19 sma-server3 systemd[1]: Started LSB: CommuniGate Pro Communication Server.