LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2011, 10:28 AM   #1
neiman007
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Starting process with .conf file at startup.


I want to start my webcam image capture process at system startup.

Currently in the console I manually type "sudo webcam /etc/webcam.conf &" to start the process.

How would I start this process at startup?

Ubuntu Server 11.04 - No GUI, but I do have Webmin installed and running.

Any help is appreciated. Thank you.
 
Old 10-14-2011, 01:51 PM   #2
cheesus
Member
 
Registered: Jan 2005
Location: Munich, Germany
Distribution: SuSE
Posts: 184

Rep: Reputation: 25
Hello,

you need to write a startup script and configure it for the runlevels you want:
http://www.cyberciti.biz/tips/linux-...p-service.html

You can go to /etc/rc.d / /etc/init.d, look for a short one and take that as example.
Maybe your webcom software even has a start script in the distribution or in a WIKI or user forum ?

To (de)activate you can use the "chkconfig" command, if Ubuntu has it (sorry, I'm SuSE)

Cheers!
 
  


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
Please amend apache conf/httpd.conf file please payjoe Linux - Newbie 7 09-21-2007 06:12 PM
Is lilo.conf file format is same for grub.conf? Chundo Linux - Newbie 1 01-30-2006 07:21 PM
Starting process on display :1 noware Linux - General 8 12-01-2005 07:52 AM
postgresql starting problem, conf file doesn't exist feetyouwell Linux - Software 0 05-25-2004 11:38 AM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM


All times are GMT -5. The time now is 09:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration