Auto run at bootup
I have install an application (smokeping). When i reboot the machine i have to enter the command:
/usr/local/Smokeping ./bin/Smokeping to run the application. I want that this command will auto run at bootup. Please any one help me regards, irfan |
Have you tried inserting that command into your rc.local file?
This is where I put all my non standard agents/applications I need starting. Just insert the line as you would on a command line. |
You're after information about runlevels and init scripts on which I'm not hot. I presume smokeping is some sort of service?
I set up GKrellm at startup via Gnome on RH9. Sorry - my short-term memory is shot to hell. If you haven't found anything on the net for your distro post back and I'll have a look for you. Someone will know. |
U can make it in in /etc/rc.d/rc.local
as told my others It is the script that will be executed after all the init scripts will be executed touch /var/lock/subsys/local is the famous one to be added |
/etc/rc.d/rc.local is a file specific to distro's that use BSD style bootscripts (like Slack or College). If the original poster is using a distro that uses SysVinit style scripts (like Fedora or Mandrake) then the specifics are different http://lfs.securewebservices.co.uk/l...r07/usage.html
|
What I meant was that it is possible with RH9 to have a start without hand-crafting run-levels and init scripts i.e. via some Gnome app.
|
Quote:
Thank u very much, it worked i insert following in rc.local file cd /usr/local/Smokeping (i.e directory path ) ./bin/Smokeping (then the command) |
All times are GMT -5. The time now is 02:49 AM. |