Support for legacy init script actions for systemd services

Bill Nottingham notting at
Fri Jun 29 14:35:18 UTC 2012

Jonathan Underwood (jonathan.underwood at said: 
> On 26 June 2012 21:11, Bill Nottingham <notting at> wrote:
> > For each legacy option (such as "xyzzy") supported by your init script (such
> > as "frobozz"), package an executable script named:
> >
> >  /usr/libexec/initscripts/legacy-actions/frobozz/xyzzy
> >
> Wouldn't
> /usr/lib/initscripts/legacy-actions/frobozz/xyzzy
> be a better location, given the general desire for libexec to disappear?

Six of one, half-dozen of the other. 

> Also, why the need for the "legacy-actions" part of the path?

It's for supporting legacy things included in former SysV scripts, not new
functionality. If you put new things there, you're doing it wrong.


More information about the devel mailing list