Hi people,
I have a script that i want to run in the background, i don't want to use '&', and the user my 'deamon' runs as must be able to send mail/create files.
I also need my script to start automaticaly when the system reboots. I know this is done with 'rc.XXX' files/directory but can anyone tell me more?
Which 'rc' file do i use, whats the command line i should use to run my program in 'deamon' mode as described above.
I'm using FreeBSD 4.2-RELEASE, not sure of the procedure to do autostart, i have not encountered this type of 'rc' directory stucture/configuration.
Thanks a bunch!(in advance)
JayBot "Always know what you say, but don't always say what you know!"
I have a script that i want to run in the background, i don't want to use '&', and the user my 'deamon' runs as must be able to send mail/create files.
I also need my script to start automaticaly when the system reboots. I know this is done with 'rc.XXX' files/directory but can anyone tell me more?
Which 'rc' file do i use, whats the command line i should use to run my program in 'deamon' mode as described above.
I'm using FreeBSD 4.2-RELEASE, not sure of the procedure to do autostart, i have not encountered this type of 'rc' directory stucture/configuration.
Thanks a bunch!(in advance)
JayBot "Always know what you say, but don't always say what you know!"