LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-05-2003, 07:58 PM   #1
binkybuckle
Member
 
Registered: Jul 2003
Distribution: debian
Posts: 40

Rep: Reputation: 15
how can I get/make a proper squid daemon startup script for boot time


I need help again, I have debian 2.4 and squid2.5 from squid-cache. I want to make a proper startup-shutdown script for boot time. Preferably using the RunCache file so if squid dies at some point it will restart itself, or a startup-shutdown script for debian simular to the ones used in RedHat. I can make a simple startup-shutdown script which mainly uses the following commands:
Exec '/usr/local/squid/sbin/squid'
Exec '/usr/local/squid/sbin/squid -k shutdown'

but it does not make sure squid is running, does not restart it if it dies, does not offer a simple command of 'squid restart' that is simular to other processes commands.does anyone know how to make or get a startup script for squid? thankyou
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in running a script as a daemon at startup fahad26 Programming 5 03-07-2012 07:24 AM
make a deamon startup at boot time kernelvn Fedora 4 10-20-2004 06:50 PM
reconfigure snort daemon startup script hari_seldon99 Linux - Security 1 05-18-2004 01:40 AM
Startup Daemon on Boot EuroJovi Linux - Newbie 4 01-09-2004 10:39 AM
syslog startup daemon script jpflager Linux - Software 6 03-05-2003 12:59 PM


All times are GMT -5. The time now is 08:10 AM.

Main Menu
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