summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-28 02:43:52 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-28 02:43:52 +0100
commit98b5b2986fa1b85fd2d2e80f867f1647b4e4e3b5 (patch)
treecb6594b10d538e18f6ef8b9d62ce4cce4e64aab4
parent071830ff32351c19343ff1f0343c13d5c2b69250 (diff)
add more special units
-rw-r--r--manager.c4
-rw-r--r--manager.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/manager.c b/manager.c
index a32755cedc..8ee560c554 100644
--- a/manager.c
+++ b/manager.c
@@ -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) {
diff --git a/manager.h b/manager.h
index 0c923fcc79..a00a9b9cc2 100644
--- a/manager.h
+++ b/manager.h
@@ -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;