-
Committer:
James Hunt
-
Date:
2013-02-08 16:15:23 UTC
-
mto:
This revision was merged to the branch mainline in
revision
1433.
-
Revision ID:
james.hunt@ubuntu.com-20130208161523-bw3pknc5ef8o4su0
* dbus/com.ubuntu.Upstart.xml: Added 'EndSession' method.
* init/Makefile.am: Updated for quiesce.[ch].
* init/conf.c: conf_destroy(): Cleanup function.
* init/conf.h: Prototype.
* init/control.c: control_end_session(): 'EndSession' implemenation.
* init/control.h: Include.
* init/events.h: Added SESSION_END_EVENT.
* init/job_class.c: job_class_max_kill_timeout(): New function.
* init/job_class.h: Prototype.
* init/job_process.c:
- Added disable_respawn to disallow respawns.
- job_process_jobs_running(): New function.
- job_process_stop_all(): New function.
- job_process_terminated(): Honours disable_respawn.
* init/job_process.h: Prototypes.
* init/main.c:
- Typos.
- term_handler(): Quiesce rather than re-exec on receipt of SIGTERM
when running as a Session Init.
- main(): Make quiesce() handle cleanup.
* init/man/init.8: Update for Session Init SIGTERM handling.
* init/man/startup.7: Update for Session Init.
* init/session.c: session_destroy(): New function.
* init/session.h: Prototype.
* init/man/session-end.7: New man page.
* init/quiesce.[ch]: New files.