:: Re: [devuan-dev] System Services - …
トップ ページ
このメッセージを削除
このメッセージに返信
著者: wirelessduck
日付:  
To: devuan developers internal list
題目: 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.


http://smarden.org/runit/sv.8.html

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