[Varnish] #1004: Removing auto-start of service under deb install

Varnish varnish-bugs at varnish-cache.org
Wed Aug 31 22:59:57 CEST 2011


#1004: Removing auto-start of service under deb install
------------------------------------------+---------------------------------
 Reporter:  eitch                         |        Type:  enhancement
   Status:  new                           |    Priority:  normal     
Milestone:                                |   Component:  packaging  
  Version:  3.0.0                         |    Severity:  normal     
 Keywords:  package, service, auto-start  |  
------------------------------------------+---------------------------------

Comment(by eitch):

 Looking at the alternatives on not starting the service at package
 install, i came across to this post
 (http://ubuntuforums.org/showthread.php?t=856815). A workaround is to use
 the "/usr/sbin/policy-rc.d" script to restrict the initialization.

 More info about this policy script:
 http://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt

 I use chef to deploy varnish servers automatically, so creating a "stub"
 policyrc.d with exit status 101 (forbidden action for starting the
 service) ''before'' the package install, then removing it ''after'' is one
 of a ugly workaround =)

 Looking forward for a "START=no" again. :-)

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/1004#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list