LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2014, 05:37 AM   #1
yossiswi
LQ Newbie
 
Registered: Aug 2014
Posts: 1

Rep: Reputation: Disabled
starting application at boot time


hello
I have an app that I want to run at startup. I added it by the command insserv.
This application reads the computer's IP eth0 point and using it.
The problem is the application started before the IP points eth0 is set, which causes the application to shut down.
My question is: how to run the application only after eth0 initialized ?
 
Old 08-30-2014, 03:38 PM   #2
VitalkaDrug
LQ Newbie
 
Registered: Aug 2014
Location: Russia, Far East, Komsomolsk-on-Amur
Distribution: Debian
Posts: 5

Rep: Reputation: Disabled
Look to 'man insserv'. You can place LSB info at the begin of your init script and to configure order of executing for your service.
You can use 'update-rc.d' to setup this order by manually also.
 
Old 08-30-2014, 03:51 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
http://www.linuxquestions.org/questi...9/#post5181541
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting application on boot ainsworth Linux - Newbie 3 12-11-2010 07:11 AM
Help with Gnome and starting an application on boot shaunom Linux - Software 1 04-14-2008 05:16 AM
How to starting OpenVPN at boot time? Vitalka Linux - General 2 11-08-2007 10:54 AM
starting application on boot shukla_chanchal Linux - General 6 11-14-2005 09:22 AM
Starting an application at boot ftwomey Linux - Newbie 3 04-25-2004 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration