startup service for openwrt
-
Good evening,
wiht this command I'm able to start triggercmd agent:node /gitrepo/TRIGGERcmd-Agent/src/daemon.js --run /root/.TRIGGERcmdData
so I have created "triggercmdservice", putted it into /etc/init.d folder and assigned excute rights.
The code for the service is:#!/bin/sh /etc/rc.common START=95 start_service() { node /gitrepo/TRIGGERcmd-Agent/src/daemon.js --run /root/.TRIGGERcmdData }
but seems to not working. Only If I execute directly previous commad, trggercmd works.
Can you help to fix the problem please?thanks for support
Egidio