losant-listen -ash: cd: can't cd to rc.common



  • I have been following the instructions on this page
    https://onion.io/2bt-initd-losant/
    and have gotten to the step where you start the process

    /etc/init.d/losant-listen start

    and I get -ash: cd: can't cd to rc.common

    bottom line, this is what I'm trying to run

    #!/bin/sh /etc/rc.common

    START=99

    USE_PROCD=1

    #YOUR TURN - COMMAND: Specify the command for the service to run
    BIN="sh /root/losant/listen.sh 5d60b1202770c80007d53b9f"

    start_service() {
    procd_open_instance
    procd_set_param command $BIN
    procd_set_param respawn
    procd_close_instance
    }



  • @ster-ri if you add the line:

    PROCD_DEBUG=1

    to the top of your /etc/init.d/losant-listen It will provide you with some more detailed information about what is going on.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.