LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Any way to startup daemon automatically? (https://www.linuxquestions.org/questions/linux-newbie-8/any-way-to-startup-daemon-automatically-277102/)

Niceman2005 01-12-2005 07:41 PM

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

michaelk 01-12-2005 08:03 PM

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.

Niceman2005 01-12-2005 09:27 PM

thanks
 
thanks!!


All times are GMT -5. The time now is 07:22 AM.