LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-12-2005, 07:41 PM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
Any way to startup daemon automatically?


Dear all,

I wish to startup two antivirus daemons "clamd" and "clamdscan" automatically. My clamav is tarball which does not provide startup script. IS there any other way that I can startup the daemon besides writing up script? I am quite new in linux, have no idea of writing script.

thanks in advance
 
Old 01-12-2005, 08:03 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,089

Rep: Reputation: 6046Reputation: 6046Reputation: 6046Reputation: 6046Reputation: 6046Reputation: 6046Reputation: 6046Reputation: 6046Reputation: 6046Reputation: 6046Reputation: 6046
The /etc/rc.local is the last initialization script to run at boot. Edit the file and add a line including the full path to the file like

/path_to_daemon/daemon_name

You need to be logged in as root to edit files in the /etc/ directory.
 
Old 01-12-2005, 09:27 PM   #3
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
thanks

thanks!!
 
  


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
script automatically add entry in cron daemon? Thinking Linux - General 1 03-30-2005 05:27 AM
How to have 'at' daemon start automatically on boot TrulyTessa Linux - Newbie 4 12-13-2004 11:12 AM
Is there a service or daemon that will automatically mount my removable media? enigma Z Linux - Software 2 09-24-2004 06:19 PM
Getting daemon to run at startup HaPPYFaCe Slackware 1 07-10-2003 08:50 PM
Running fetchmail daemon automatically iihay Linux - General 3 09-02-2001 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 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
Open Source Consulting | Domain Registration