Symptoms
cpgreylistd is unable to start with the following error:
The “NOTIFY_SOCKET” environment variable is empty. at /usr/local/cpanel/Cpanel/Systemd/Notify.pm line 424.
Description
This has been found to be caused by an incorrect Type
value in /etc/systemd/system/cpgreylistd.service.
Type=forking
Workaround
Modify /etc/systemd/system/cpgreylistd.service by setting the Type
value to 'notify'.
Type=notify
Then run the following commands.
systemctl daemon-reload
/scripts/restartsrv_cpgreylistd