summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-12-09 18:50:30 +0100
committerKay Sievers <kay.sievers@vrfy.org>2010-12-09 18:50:30 +0100
commit0b603b4e76968448c15d726ebf43238210d3d742 (patch)
treebf569209f62cb8d4feac6bc7f75133e10b841836 /src
parentae92f4266a97ea425dc9211d74177669bcdfc065 (diff)
suse: add 'smtp' LSB facility
Diffstat (limited to 'src')
-rw-r--r--src/service.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/service.c b/src/service.c
index 6b6ce30855..1f478f4386 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;