this may nto be of interest to you but, one thing I do with
processes that won't run in background cleanly, I don't
feel comfortable running that way, etc.. I use screen.
And if you are already familiar with it sorry but if not:
it's pretty simple. Just type screen, which will open what
looks like a new shell. start the command you wish to run
hit ctrl + a, ctrl + d to detach from the screened
process. At that point you can log off or whatever else
you wish to do. To get back to the process to monitor it
simply login and type screen -R.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try out daemontools, which will help you run the process at
boot.
It will continuesly (every 5 sec) check that the process is
running, and will start it again if needed. http://cr.yp.to/daemontools.html
// Fredrik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
this may nto be of interest to you but, one thing I do with
processes that won't run in background cleanly, I don't
feel comfortable running that way, etc.. I use screen.
And if you are already familiar with it sorry but if not:
it's pretty simple. Just type screen, which will open what
looks like a new shell. start the command you wish to run
hit ctrl + a, ctrl + d to detach from the screened
process. At that point you can log off or whatever else
you wish to do. To get back to the process to monitor it
simply login and type screen -R.
Logged In: YES
user_id=454744
Yes, i tried screen. But i want it to start at boot as an
service so i dont have to bother to start it everytime i
reboot the box etc.
I tried to run it in rc.local but then it runs as root.
Thats not good enough.
Any ideas?
Maybe the authour knows? :)
/ Peter
Logged In: YES
user_id=614857
Try out daemontools, which will help you run the process at
boot.
It will continuesly (every 5 sec) check that the process is
running, and will start it again if needed.
http://cr.yp.to/daemontools.html
// Fredrik
Logged In: NO
what lines did you add to rc.local to get it to run,
I am on a dedicated server and have to keep a permanent
telnet connection open