I have tried using --ifexists to run a command with parameters, but it won't accept them.
Things I've tried are encasing the entire command in single and double quotes.
For example rc-service --ifexists caddy echo yes does not work but rc-service --ifexists caddy echo works and prints a blank line.