-
Committer:
James Hunt
-
Date:
2013-09-12 10:56:22 UTC
-
Revision ID:
james.hunt@ubuntu.com-20130912105622-i8ndl9r7hbiz8z02
* scripts/pyupstart.py:
- dbus_encode(): Comments.
- Upstart::_idle_create_job_cb(): Pass retain option.
- Upstart::job_create(): Allow specification of retain option to keep
job configuration file on object destruction.
- Upstart::job_recreate(): New method to vivify a Job object using an
existing job configuration file.
- Job::__init__(): New 'retain' and 'reuse_path' options.
- Job::get_instance(): New method to obtain a Jobs JobInstance.
- Job::get_dbus_instance(): Renamed from get_instance().
- JobInstance::destroy(): NOP for 'retain'ed jobs.
* scripts/tests/test_pyupstart_system_init.py:
- test_pid1_reexec():
- Retain the job configuration to allow the object to be recreated
after re-exec.
* scripts/tests/test_pyupstart_session_init.py:
- test_session_init_reexec: Add job creation for parity with
test_pid1_reexec().