[opensuse-factory] legacy actions in /usr/sbin/service
Hi, Init scripts sometimes implement additional actions besides the usual start/stop/status etc. For systemd service files that extra feature doesn't exist. It's still convenient to have for some services though. Therefore /usr/sbin/service now implement "legacy actions" like Fedora. Suppose your previous init script "foo" had an action "frob". Now the service file is called "foo.service" and you want to still support that action. In Factory you can now create a script /usr/lib/initscripts/legacy-actions/foo/frob that implements the feature you need. Obviously the action is only available when calling the service via /usr/sbin/service, ie "service foo frob" or "rcfoo frob". cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Ludwig Nussel