Red Hat 9.0 - Starting a program when the system starts
On RedHat, any commands placed in /etc/rc.d/rc.local are executed upon startup.
You can muck around with the init scripts if you want a finer control over the services running, especially at given run levels, but the above works as well.
You can muck around with the init scripts if you want a finer control over the services running, especially at given run levels, but the above works as well.
hmmm, that script is more compicated than I remember.
Here''s a simpler one:
Then do what zeon said.
Alternately, Galapaegos''s idea is the simplest. If redhat does that...
Here''s a simpler one:
#!/bin/bashcase "$1" instart) /path/to/my/executable & ;;stop) killall executable ;;esac
Then do what zeon said.
Alternately, Galapaegos''s idea is the simplest. If redhat does that...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement