Hello!
I'm in big trouble. I need to create a new daemon that starts at boot time on my sme server 5.5.
1 -
I wrote the C source, compiled and tested it via a tty, everything is ok if I launch it vial
#> 'programname' &
But i suspect there is a way to tell the program in the source that it IS a daemon and be able to launch it without the '&' directive.
Does anyone know how ?
2 -
How do I do to make it autostart. I know how on standard linux, but not on sme server where there are templates even in the rc7.d... I would like it to run from runlevel 5 to 7, that would be fine.
Can anyone help ???
tnx in advance, I'm pretty stucked...