Forums | Reviews | Search | Full Version

Homebrew JS Service Framework
by Jason Robitaille on 3/4/2011 | ; Tags: - none - | 6 comments

HP webOS 2.0 brought with it javascript system services. These services are run via Node.js and are amazingly powerful. So naturally, HP locked down third party services with a jailer. For homebrew however, full system root access is a must.

This homebrew js service framework remedies the situation. It adds a custom script to /var/usr/bin/run-homebrew-js-service

All a homebrew service needs to do different from standard service format is to include a custom dbus file which uses the custom script. The end result is that the service will run as root, with full system access (needed for services like FileMgr and SysToolsMgr).