Enable core-dumps in procd

Is it possible to enable core-dumps for a program by adding settings to its procd init.d script?

If not, is there another way to do this for an application that is started by a init.d procd script ?

This worked for me by editing the /etc/init.d script:
procd_set_param limits core="unlimited"