BeagleBone, removing services

3,219 views
Skip to first unread message

Evan Ruff

unread,
Jan 5, 2012, 1:27:40 PM1/5/12
to beagl...@googlegroups.com
Hey guys,

I'd like to remove the services that come pre-installed with the BeagleBone, basically keeping SSH and removing everything else. I can't seem to find anywhere in the OS where the services (Node,Cloud9,GateOne) are getting started in any of the usual startup locations.

Any pointers?

Thanks,

E

vitoracmm

unread,
Jan 5, 2012, 2:39:40 PM1/5/12
to Beagle Board
Hi, u could go to ur beagle on ssh and type ps -u root
U will see all the processes running, there are two processes called
node
One is Cloud9 and the other the webpage, just do a kill to those
2processes
for example: kill 96
If node process is 96 it will be killed from running.

But it will start on next startup, but with some search u could get
the way to remove it from startup

Regards


David Lambert

unread,
Jan 5, 2012, 2:50:57 PM1/5/12
to beagl...@googlegroups.com
I am by no means an expert here, but I believe something like:

systemctl disable cloud9.service

should stop the service from being started at the next boot.


systemctl -h helped me :)


HTH

Dave.

Evan Ruff

unread,
Jan 5, 2012, 6:56:53 PM1/5/12
to beagl...@googlegroups.com
Hey guys,

Thanks for the tips. I was able to find the processes, but I'd really like to disable Node on boot. (I'm going to be running Jetty).

Dave, systemctl helped me get rid of Cloud9 and GateOne, but I couldn't find any reference to Node in there.

Also, what is systemctl and how does it work. Is it an Angstrom thing, or is it something else? Does this distribution not used the init.d/rc symlinks to start/stop/reset things?

Thanks everyone!

E

rattus

unread,
Jan 5, 2012, 8:27:44 PM1/5/12
to Beagle Board
Take a look in /etc/systemd/system/multi-user.target.wants; there
you'll find entries like cloud9.service, bone101.service, etc.

Remove these and you'll prevent the invocation at startup.

Conversely, you can also create services so that your the processes
you want are there at startup.start up. Put the services in /lib/
systemd/system and symbolicattly link to them from /etc/systemd/system/
multi-user.target.wants

Good Luck!

Mike

Freeman P Pascal IV

unread,
Jan 5, 2012, 8:03:45 PM1/5/12
to beagl...@googlegroups.com
It uses systemd, which is a replacement for the SysV RC system. I found several sites and videos on youtube describing systemd. Systemd is what allows the BeagleBone to boot up under 10 seconds. I think systemd is a perfect fit with embedded Linux.

Freeman
--
Sent from my Motorola Xoom tablet!

David Lambert

unread,
Jan 5, 2012, 9:59:12 PM1/5/12
to beagl...@googlegroups.com
On 01/05/2012 05:56 PM, Evan Ruff wrote:
> Hey guys,
>
> Thanks for the tips. I was able to find the processes, but I'd really
> like to disable Node on boot. (I'm going to be running Jetty).
>
> Dave, systemctl helped me get rid of Cloud9 and GateOne, but I
> couldn't find any reference to Node in there.
I believe node is run as part of the cloud9 and bone101 services. So if
you disable both these services node should not run.

>
> Also, what is systemctl and how does it work. Is it an Angstrom thing,
> or is it something else? Does this distribution not used the init.d/rc
> symlinks to start/stop/reset things?
Systemctl is the management tool for systemd which is a highly
parallelized startup system replacing systemV. It allows startup times
to be drastically reduced to under 10 seconds in some cases.
>
> Thanks everyone!
>
> E
> --
> You received this message because you are subscribed to the Google
> Groups "Beagle Board" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/beagleboard/-/ut-0eWoGMVoJ.
> To post to this group, send email to beagl...@googlegroups.com.
> To unsubscribe from this group, send email to
> beagleboard...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/beagleboard?hl=en.

Evan Ruff

unread,
Jan 6, 2012, 12:43:21 PM1/6/12
to beagl...@googlegroups.com
Hey Guys,

Thanks a lot for the info. I will definitely read up on the new start-up system.

Thanks!

E
Reply all
Reply to author
Forward
0 new messages