LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Running a de (https://www.linuxquestions.org/questions/linux-software-2/running-a-de-58476/)

e0n 05-06-2003 05:41 PM

Problems with running a deamon at boot time
 
For the past few hours i've been fooling around with Undernet's ircd. I can get everything to work fine, but the problem is i cant start the deamon as a superuser. At first it didnt bother me, but now i want to start the ircd at boot and it just doesnt want to start. What i want to know is 1- why cant the ircd be started with root, 2- is there a way to change this and if there isnt, how can i make the deamon start with a different user?

Thx in advance,

-Mat

webtoe 05-06-2003 06:00 PM

are you starting it up in your startup scripts? Startup scripts are usually ran as root.

Secondly, where is it installed and who is the owner of the daemon (use the 'ls -l' command to check on that)

Alex

e0n 05-06-2003 06:07 PM

i start the ircd by placing a script in /etc/rc.d/init.d then creating a link to it in /etc/rc.d/rc5.d. i dont know if that's the proper way to do it, but it works for other services.

to awnser your 2nd question, i installed ircu in /usr/local/ircd and root is the owner but i used chmod o+x

i started another thread similar to this one because i couldnt edit this thread's subject. please respond in the other thread :)


All times are GMT -5. The time now is 09:10 AM.