chiark / gitweb /
add more special units
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2010 01:43:52 +0000 (02:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2010 01:43:52 +0000 (02:43 +0100)
manager.c
manager.h

index a32755c..8ee560c 100644 (file)
--- 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) {
index 0c923fc..a00a9b9 100644 (file)
--- 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;