[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#60979: What /etc/init.d/xxx restart does?



On Fri, 2002-09-13 at 02:50, Chris Waters wrote:
> On Thu, Sep 12, 2002 at 10:30:21PM +0100, Oliver Elphick wrote:
> > On Thu, 2002-09-12 at 18:43, Robert Bihlmeyer wrote:
> > > Starting and stopping a service should be idempotent, i.e. further
> > > attempts should silently succeed. 
> 
> > If I start something that is already started, I want it to tell me -
> 
> It tells you by its silence -- if the service actually had started or
> stopped, then it would have printed a message.

But the Unix norm is that silence means success.  Failure produces a
message.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                            
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "For my thoughts are not your thoughts, neither are 
      your ways my ways, saith the LORD. For as the heavens 
      are higher than the earth, so are my ways higher than 
      your ways, and my thoughts than your thoughts."       
                               Isaiah 55:8,9 




Reply to: