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

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



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. 

I don't agree with that, if that is what current policy says (but I
don't think it does).

If I start something that is already started, I want it to tell me -
maybe I was starting the wrong thing; maybe I failed to stop it when I
thought I had stoppped it.

If something is already started, the script should say "xxx is already
running".  If it is already stopped, the script should say "xxx is not
running".

-- 
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
                 ========================================
     "Let the wicked forsake his way, and the unrighteous 
      man his thoughts; and let him return unto the LORD, 
      and He will have mercy upon him; and to our God, for 
      he will abundantly pardon."          Isaiah 55:7 




Reply to: