diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-13 23:53:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-13 23:53:59 +0200 |
commit | 4f7dcad328249b80580aed5de73bd754db19351c (patch) | |
tree | 47580c1b2add9e240797794d1f2855cd1bd45e8b | |
parent | 67ff6134592205ea7d39a826bb3e6420d82d1ceb (diff) |
service: translate 'httpd' LSB Provides into '$httpd' on Fedora
-rw-r--r-- | src/service.c | 3 | ||||
-rw-r--r-- | src/special.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index 1dc3e1ea00..2d7ab70c19 100644 --- a/src/service.c +++ b/src/service.c @@ -260,7 +260,8 @@ static int sysv_translate_facility(const char *name, char **_r) { #ifdef TARGET_FEDORA /* Fedora extensions, lacking the $ prefix */ "MTA", SPECIAL_MAIL_TRANSFER_AGENT_TARGET, - "smtpdaemon", SPECIAL_MAIL_TRANSFER_AGENT_TARGET + "smtpdaemon", SPECIAL_MAIL_TRANSFER_AGENT_TARGET, + "httpd", SPECIAL_HTTP_DAEMON_TARGET, #endif }; diff --git a/src/special.h b/src/special.h index d0359db1f5..ca24121924 100644 --- a/src/special.h +++ b/src/special.h @@ -47,6 +47,7 @@ #define SPECIAL_RTC_SET_TARGET "rtc-set.target" /* LSB's $time */ #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_HTTP_DAEMON_TARGET "http-daemon.target" #define SPECIAL_DBUS_TARGET "dbus.target" #define SPECIAL_BASIC_TARGET "basic.target" #define SPECIAL_SOCKETS_TARGET "sockets.target" |