From 4f7dcad328249b80580aed5de73bd754db19351c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 13 Sep 2010 23:53:59 +0200 Subject: [PATCH] service: translate 'httpd' LSB Provides into '$httpd' on Fedora --- src/service.c | 3 ++- src/special.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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"