How to automatically start a program on boot on the arduino yun

Hi,

I need to run this command:
node mnt/sda1/arduino/www/iot/bin/www.js
On startup.

On the openwrt website it said I can do this. How to write a procd init script? [Old OpenWrt Wiki] :

 #!/bin/sh /etc/rc.common
    
    USE_PROCD=1
    
    start_service() {
      procd_open_instance
      procd_set_param command node /mnt/sda1/arduino/www/iot/bin/www.js
      # respawn automatically if something died, be careful if you have an alternative process supervisor
      # if process dies sooner than respawn_threshold, it is considered crashed and after 5 retries the service is stopped
      procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5}
      procd_close_instance
    }

However i'm not sure what who to exactly write it as nothing comes up when I try run it with /etc/init.d/node-app start I am obviously writing the code wrong but i'm not sure what it should exactly look like, It would be great if someone could provide an example.

Thanks!