3
* Copyright © 2008 Canonical Ltd.
4
* Author: Scott James Remnant <scott@netsplit.com>.
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27
* Name of the event that we generate when init is first executed.
30
#define STARTUP_EVENT "startup"
32
#define STARTUP_EVENT "debug"
39
* Name of the event that we generate when the Control-Alt-Delete key
40
* combination is pressed.
42
#define CTRLALTDEL_EVENT "control-alt-delete"
47
* Name of the event that we generate when the Alt-UpArrow key combination
50
#define KBDREQUEST_EVENT "keyboard-request"
55
* Name of the event that we generate when we receive SIGPWR, indicating
56
* that the power status has changed.
58
#define PWRSTATUS_EVENT "power-status-changed"
64
* Name of the event we generate when we're ready to start a job; the job
65
* is not actually started until the handling of this event finishes.
67
#define JOB_STARTING_EVENT "starting"
72
* Name of the event we generate once a job has been started and is now
73
* running. This is not generated until the spawned pid is located (if
74
* appropriate) and the post-start script has finished.
76
#define JOB_STARTED_EVENT "started"
81
* Name of the event we generate when we're ready to stop a job, which
82
* includes arguments and environment indicating whether the job failed.
83
* This is run after the pre-stop script has finished without setting the
84
* goal back to start. The job is not actually stopped until the handling
85
* of this event finishes.
87
#define JOB_STOPPING_EVENT "stopping"
92
* Name of the event we generate once a job has been stopped and is now
95
#define JOB_STOPPED_EVENT "stopped"
98
#endif /* INIT_EVENTS_H */