add more special units

This commit is contained in:
Lennart Poettering 2010-01-28 02:43:52 +01:00
parent 071830ff32
commit 98b5b2986f
2 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,9 @@
static const char * const special_table[_SPECIAL_UNIT_MAX] = {
[SPECIAL_SYSLOG_SERVICE] = "syslog.service",
[SPECIAL_DBUS_SERVICE] = "messagebus.service",
[SPECIAL_LOGGER_SOCKET] = "systemd-logger.socket"
[SPECIAL_LOGGER_SOCKET] = "systemd-logger.socket",
[SPECIAL_KBREQUEST_TARGET] = "kbrequest.target",
[SPECIAL_CTRL_ALT_DEL_TARGET] = "ctrl-alt-del.target"
};
static int manager_setup_signals(Manager *m) {

View File

@ -34,6 +34,8 @@ typedef enum SpecialUnit {
SPECIAL_SYSLOG_SERVICE,
SPECIAL_DBUS_SERVICE,
SPECIAL_LOGGER_SOCKET,
SPECIAL_CTRL_ALT_DEL_TARGET,
SPECIAL_KBREQUEST_TARGET,
_SPECIAL_UNIT_MAX
} SpecialUnit;