diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-24 22:29:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-24 22:29:59 +0200 |
commit | 1e287fe32fd15b1691cbb966feef5fc2f9f6cf7b (patch) | |
tree | d039d803fb1561dd76014e8ba6eb6f392424e67f /src | |
parent | 6464aa0890dd21bf0b3e3acfc2b24a425b252c51 (diff) |
unit: turn display-manager.target into a service
Diffstat (limited to 'src')
-rw-r--r-- | src/manager.h | 2 | ||||
-rw-r--r-- | src/service.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/manager.h b/src/manager.h index e2f9cf6..22ba04f 100644 --- a/src/manager.h +++ b/src/manager.h @@ -105,7 +105,7 @@ struct Watch { #define SPECIAL_RPCBIND_TARGET "rpcbind.target" /* LSB's $portmap */ #define SPECIAL_SYSLOG_TARGET "syslog.target" /* LSB's $syslog; Should pull in syslog.socket or syslog.service */ #define SPECIAL_RTC_SET_TARGET "rtc-set.target" /* LSB's $time */ -#define SPECIAL_DISPLAY_MANAGER_TARGET "display-manager.target" /* Debian's $x-display-manager */ +#define SPECIAL_DISPLAY_MANAGER_SERVICE "display-manager.service" /* Debian's $x-display-manager */ #define SPECIAL_MAIL_TRANSFER_AGENT_TARGET "mail-transfer-agent.target" /* Debian's $mail-{transport|transfer-agent */ #define SPECIAL_BASIC_TARGET "basic.target" #define SPECIAL_RESCUE_TARGET "rescue.target" diff --git a/src/service.c b/src/service.c index d4b874d..3fbc0ac 100644 --- a/src/service.c +++ b/src/service.c @@ -203,7 +203,7 @@ static int sysv_translate_facility(const char *name, char **_r) { /* Debian extensions */ "$mail-transport-agent", SPECIAL_MAIL_TRANSFER_AGENT_TARGET, "$mail-transfer-agent", SPECIAL_MAIL_TRANSFER_AGENT_TARGET, - "$x-display-manager", SPECIAL_DISPLAY_MANAGER_TARGET, + "$x-display-manager", SPECIAL_DISPLAY_MANAGER_SERVICE }; unsigned i; |