Sorin Peste wrote:
Hello,
My google-fu seems to be weak today 'cause I can't find a good answer to this problem.
I have a server program. [<program> start] starts the server, [<program> stop] stops it. I want to make it run as a daemon on an openSUSE 10.2 installation, so it will start / exit cleanly.
<program> start DOES make it run as a deamon. Or do you mean you want it to start up every time you boot up. I suggest you ls $ ls /etc/init.d and then do this: $ ls -al --color=always /etc/init.d/*.d | less -r note that in each directory (for example /etc/init.d/rc3.d), each file is actually a link to a similarly-named file in the parent directory example, in /etc/rc5.d lrwxrwxrwx 1 root root 7 2006-12-27 11:40 K04cron -> ../cron Thus /etc/init.d/rc5.d/K04cron is a symbolic link to ../cron (which is to say, /etc/init.d/cron) Likewise, /etc/init.d/rc5.d/S18cron is AGAIN a link to ../cron (which is ALSO /etc/init.d/cron) if the solution at that point is not obvious, then # man ln # and note at the -s option su to root, and make the symbolic links as appropriate.
Bonus: - running it as a different user - listing it in YaST / system services.
Thanks for any hints, Sorin
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org