Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install xinetd 

    Code Block
    languagebash
    yum install xinetd


  2. Ensure /includes/modules/Other/ipam/rwhois.php is executable:

    Code Block
    chmod a+x /home/hostbill/public_html/includes/modules/Other/ipam/rwhois.php


  3. Add file: /etc/xinetd.d/rwhois with following content:

    Code Block
    languagebash
    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
    }
    


  4. Start/enable xinetd:

    Code Block
    languagebash
    systemctl start xinetd
    systemctl enable xinetd


...