how bone101.js gets executed on boot
Moderators: adafruit_support_bill, adafruit

how bone101.js gets executed on boot

by elliotlarson on Sun Dec 30, 2012 7:46 pm

When I start up my BB, I see "/usr/bin/node bone101.js" in the process list. I don't see anything in the init.d directory that kicked this off. Anyone know how this is setup to start on boot?
Posts: 1
Joined: Tue Jul 20, 2010 2:51 pm

Re: how bone101.js gets executed on boot

by greg1415 on Thu Jan 03, 2013 1:24 am

"/usr/bin/node bone101.js" is started by systemd via /lib/systemd/system/bone101.service

To have it start or not on boot use:
systemctl enable bone101.service
systemctl disable bone101.service

To check the current status:
systemctl status bone101.service

To manually stop and start the process:
systemctl stop bone101.service
systemctl start bone101.service

The html & javascript files served by node.js on port 80 are in /var/lib/cloud9/bone101

There is more info on the process itself at and
Posts: 2
Joined: Wed Jan 02, 2013 9:31 pm