On OpenWrt 22.03.2 when I run /etc/init.d/simple-adblock check domain.com the check() function in my init script receives the domain.com as a parameter and works fine.
However if I run service simple-adblock check domain.com the check() function in my init script does not receive any parameters and fails.
Is there anything I can do to make it work with the service call?
It won't, as it then consider the string to be executed as a single binary (with spaces in the name). Changing procd's service command/ script would need changing - or the user has to realize that OpenWrt isn't RedHat…