Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-05-2003, 08:58 PM   #1
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


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
Problems in running a script as a daemon at startup fahad26 Programming 5 03-07-2012 08:24 AM
make a deamon startup at boot time kernelvn Fedora 4 10-20-2004 07:50 PM
reconfigure snort daemon startup script hari_seldon99 Linux - Security 1 05-18-2004 02:40 AM
Startup Daemon on Boot EuroJovi Linux - Newbie 4 01-09-2004 11:39 AM
syslog startup daemon script jpflager Linux - Software 6 03-05-2003 01:59 PM

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration