1

Topic: How to Make OpenRC Aware of Service?

I am attempting to enable a service with OpenRC with the following command:

sudo rc-update add foo default

I receive the following error message:

* rc-update: service `foo' does not exist

However, the command 'whereis foo' provides the following information:

foo: /usr/bin/foo /usr/share/man/man1/foo.1.gz

Service foo exists, but OpenRC is not aware foo exists.
How do I make OpenRC aware of binary foo?

2

Re: How to Make OpenRC Aware of Service?

Which service?

3

Re: How to Make OpenRC Aware of Service?

kwakd & preload. I know the AUR isn't supported, but both are GPL. Both include systemd units. Neither include OpenRC files.

4

Re: How to Make OpenRC Aware of Service?

This packages is not supported by Hyperbola GNU/Linux-Libre

5 (edited by 4freedomzpleez 2017-10-25 22:58:42)

Re: How to Make OpenRC Aware of Service?

Thanks for letting me know.

EDIT: Everything is working perfectly. This was helpful.

6

Re: How to Make OpenRC Aware of Service?

For OpenRC to be aware of a service, the init script must follow two conditions:

1) it must be located in /etc/init.d
2) it must call /usr/bin/openrc-run