Hi All,

I'd like to test an upstart script, and would like to do it the 'right' way eventually. I haven't done any packaging yet, so I'm looking for some help.

I know I could just create an upstart script in /etc/event.d.

What I notice for optware packages and patches, however, is that everyone simply has a file in /media/cryptofs/apps/usr/palm/applications/foo/upstart/foo that is magically called.

So:
1) I can't for the life of me figure out how the above is actually called by WebOS's upstart. Can somebody shed some light on this?
2) what is the proper way to write my upstart script? If I place my files in the magical heirarchy above, does it get magically called as well?