Init scripts should be installed into
/etc/init.d using the
newinitd functions (see Install Functions Reference).
Any configuration (commandline parameters or environment variables) for these scripts
should be handled via entries in
/etc/conf.d with the same filename —
newconfd can be used to install these.
Please note that unlike ebuilds, init scripts for OpenRC are expected to be POSIX-compliant and must therefore avoid e.g. Bash-specific tests and constructs.