Lähettäjä: wirelessduck Päiväys: Vastaanottaja: devuan developers internal list Aihe: Re: [devuan-dev] System Services - request for comments...
> Query:
> Is it reasonable to assume that the 'service' command that transparently handles both SystemD and SysVinit found in many Distros could be expanded to work with other Init systems ?
>
> Reasoning:
> The application could call the Distro provided 'service' command which would then perform the correct action for that specific Init system whether it be SystemD, OpenRC, Runit etc.
Runit has a compatibility interface for init scripts which then allows you to use the standard “service” command provided with init-system-helpers package. Just need to add the appropriate symlink from /etc/init.d/servicename to /usr/bin/sv