...
Install xinetd
Code Block language bash yum install xinetd
Ensure /includes/modules/Other/ipam/rwhois.php is executable:
Code Block chmod a+x /home/hostbill/public_html/includes/modules/Other/ipam/rwhois.php
Add file: /etc/xinetd.d/rwhois with following content:
Code Block language bash service rwhois { protocol = tcp disable = no wait = no server = /home/hostbill/public_html/includes/modules/Other/ipam/rwhois.php port = 4321 user = hostbill group = hostbill socket_type = stream type = UNLISTED instances = UNLIMITED }
Start/enable xinetd:
Code Block language bash systemctl start xinetd systemctl enable xinetd
...