MOON
Server: Apache
System: Linux cl1170g 4.19.62-mod-std-ipv6-64-rescue #828825 SMP Tue Jul 30 13:54:49 UTC 2019 x86_64
User: wh0f20bb (1057)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: //etc/systemd/system/cpcleartaskqueue.service
[Unit]
Description=Hook to clear cPanel task queue before shutdown

[Service]
Type=oneshot
RemainAfterExit=true
ExecStop=/usr/bin/touch /var/run/chkservd.suspend
ExecStop=/usr/bin/systemctl stop queueprocd
ExecStop=/usr/local/cpanel/bin/servers_queue run
ExecStop=/usr/bin/unlink /var/run/chkservd.suspend
ExecStop=/usr/bin/systemctl disable cpcleartaskqueue

# There is no [Install] section because we never “enable” this service;
# we only “start” it.