[systemd-commits] src/service.c
Kay Sievers
kay at kemper.freedesktop.org
Thu Dec 9 10:10:09 PST 2010
src/service.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
New commits:
commit 0b603b4e76968448c15d726ebf43238210d3d742
Author: Kay Sievers <kay.sievers at vrfy.org>
Date: Thu Dec 9 18:50:30 2010 +0100
suse: add 'smtp' LSB facility
diff --git a/src/service.c b/src/service.c
index 6b6ce30..1f478f4 100644
--- a/src/service.c
+++ b/src/service.c
@@ -273,23 +273,24 @@ static int sysv_translate_facility(const char *name, const char *filename, char
"syslog", SPECIAL_SYSLOG_TARGET,
"time", SPECIAL_RTC_SET_TARGET,
- /* Debian extensions */
+ /* common extensions */
+ "mail-transfer-agent", SPECIAL_MAIL_TRANSFER_AGENT_TARGET,
+ "x-display-manager", SPECIAL_DISPLAY_MANAGER_SERVICE,
+ "null", NULL,
+
#if defined(TARGET_DEBIAN) || defined(TARGET_UBUNTU)
"mail-transport-agent", SPECIAL_MAIL_TRANSFER_AGENT_TARGET,
#endif
- "mail-transfer-agent", SPECIAL_MAIL_TRANSFER_AGENT_TARGET,
- "x-display-manager", SPECIAL_DISPLAY_MANAGER_SERVICE,
#ifdef TARGET_FEDORA
- /* Fedora extensions */
"MTA", SPECIAL_MAIL_TRANSFER_AGENT_TARGET,
"smtpdaemon", SPECIAL_MAIL_TRANSFER_AGENT_TARGET,
"httpd", SPECIAL_HTTP_DAEMON_TARGET,
#endif
- /* SuSE extensions */
- "null", NULL
-
+#ifdef TARGET_SUSE
+ "smtp", SPECIAL_MAIL_TRANSFER_AGENT_TARGET,
+#endif
};
unsigned i;
More information about the systemd-commits
mailing list