Initscript uses svc_(start|stop). These functions don't appear to be supported in openrc.
Created attachment 273715 [details, diff]
Remove svc_(start|stop) and make openrc compatible
(In reply to comment #1)
> Created attachment 273715 [details, diff]
> Remove svc_(start|stop) and make openrc compatible
This patch is not quite correct.
openrc has a command, rc-service. It should be used to stop/start services.
rc-service foo stop
rc-service foo start
will stop or start service foo.
(In reply to comment #2)
> This patch is not quite correct.
Ok, I'll fix it up. I couldn't find much documentation about what services/commands were available or any best practices, so I just guessed based on what some other initscript was doing.
I'll fix this patch as per your suggestion and I'll hunt down that other script and patch it too.
Created attachment 273767 [details, diff]
Updated patch to reflect William's comments. Fix and invert the logic a bit.
should be all set now in the tree. thanks for the report!