set UnrealIRCD to start on boot

Discussion in 'Installation/Configuration' started by ratcateme, Mar 10, 2008.

  1. ratcateme

    ratcateme New Member

    Hi i followed this tutorial to set up an IRC server on centos 5.1
    http://howtoforge.com/linux_irc_server_anope_services
    and i want to set Unreal to start when the server powers on.
    i created a symbolic link form: /home/ircdadmin/conf/unreal
    to: /etc/init.d/unreal
    i then ran this command but i got an error
    Code:
    [root@ratcat ~]# chkconfig --levels 235 unreal on
    service unreal does not support chkconfig
    [root@ratcat ~]#
    how can i get Unreal to autostart?

    Scott.
     
  2. topdog

    topdog Active Member

    you can add this
    Code:
    service unreal start
    to the file /etc/rc.d/rc.local
     
  3. zcworld

    zcworld New Member

    try
    /home/ircadmin/bin/unreal -u ircadmin -g ircadmin &
    sleep 2

    at normal command
    you WANT the IRC to run as the ircadmin user
    or what username / group you gave it to

    if its works
    than add it to the /etc/rc.local
    reboot
    and check
     

Share This Page