Hi All,
Noob to tinycore, but not unixes in general.
I have successfully got node.js and http-server extension running.
BUT - I am running my pi headless, just over ssh.
I can start the http-server with
sudo .npm/http-server/0.6.1/package/bin/http-server public -p80
but even when I background it (with & appended or with ctrl-z; bg) as soon as I break the ssh connection, the node process dies.
I have tried adding the full command line:
/home/tc/npm/http-server/0.6.1/package/bin/http-server public -p80
to /opt/bootlocal.sh, but the process is not running once boot is complete.
Anyone any ideas where I should put this so that it starts on boot?
Thanks in advance.