LinuxQuestions.org
Register a domain and help support LQ
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, 08: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, 09:03 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,150

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


All times are GMT -5. The time now is 11:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration