summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-24 19:56:25 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-24 19:56:25 +0200
commit6464aa0890dd21bf0b3e3acfc2b24a425b252c51 (patch)
treefb8d1f706a618f3f2080a1d9b9e32ef489583805 /src/service.c
parentc2b35af64ca0924d698d2874042272911ac68e2f (diff)
service: add extended debian facilities
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index 1379d14ff0..d4b874d624 100644
--- a/src/service.c
+++ b/src/service.c
@@ -191,13 +191,19 @@ static char *sysv_translate_name(const char *name) {
static int sysv_translate_facility(const char *name, char **_r) {
static const char * const table[] = {
+ /* LSB defined facilities */
"$local_fs", SPECIAL_LOCAL_FS_TARGET,
"$network", SPECIAL_NETWORK_TARGET,
"$named", SPECIAL_NSS_LOOKUP_TARGET,
"$portmap", SPECIAL_RPCBIND_TARGET,
"$remote_fs", SPECIAL_REMOTE_FS_TARGET,
"$syslog", SPECIAL_SYSLOG_TARGET,
- "$time", SPECIAL_RTC_SET_TARGET
+ "$time", SPECIAL_RTC_SET_TARGET,
+
+ /* 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,
};
unsigned i;