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

proposed minimum function of /etc/init.d scripts



Bdale:
> I would like to propose that all scripts placed in /etc/init.d should
> be required to support at least the four arguments
> 'start|stop|reload|restart'.  In cases where there is currently no
> 'restart', it could easily be formed as the sequence of actions to
> perform a stop followed by a start.  In cases where there is no
> 'reload' and the daemon(s) in question can't do on-the-fly reloading
> of config files, the 'reload' token would degenerate to an alias for
> 'restart'.

I agree, FWIW.  Does anyone have any counterarguments ?

I think that the scheme above will make it easier to do automatic
reloading of package configurations, &c., as well as making life
easier for the sysadmin.

Ian.


Reply to: