~jamesodhunt/upstart/override-support

Viewing all changes in revision 1249.

  • Committer: Scott James Remnant
  • Date: 2010-12-14 15:30:06 UTC
  • mfrom: (1245.1.2 event-properties)
  • Revision ID: scott@netsplit.com-20101214153006-5bfh7xzgdrapy2v1
* dbus/com.ubuntu.Upstart.Job.xml (start_on, stop_on, emits): Add new
properties to return the job's relationship to events.
* init/job_class.c (job_class_get_start_on)
(job_class_get_stop_on, job_class_get_emits): Implement the properties
* init/job_class.h: Add prototypes.
* init/tests/test_job_class.c (test_get_start_on)
(test_get_stop_on, test_get_emits): Test the new properties too

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: