Service scripts could be in different places on different systems. rc-service locates the specified service and runs it with the given arguments. If
--ifexists is given then rc-service returns 0 even if the service does not exist. If
--ifnotstarted is given then rc-service returns 0 if the service exists but is in the wrong state.
If given the
--list argument then rc-service will list all available services.
--exists return 0 if it can find service, otherwise -1.
--resolve does the same and also prints the full path of the service to stdout.
--debug sets -x when running the service script(s).
--nodeps ignores dependencies when running the service.
--dry-run displays commands rather than executing them.