From b1ab2b9ac1cfc15d2a8f5850145dd69043cc3ef7 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sat, 30 Aug 2008 08:24:52 +0200 Subject: LCR now runs as a user. You may change the path of socket and lock files. LCR admin socket's flags can now be altered to allow access to other users. Lock and socket files will now be removed when terminating LCR. modified: Makefile modified: chan_lcr.c modified: default/options.conf modified: lcradmin.c modified: lcrsocket.h modified: main.c modified: options.c modified: options.h modified: socket_server.c --- default/options.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'default') diff --git a/default/options.conf b/default/options.conf index 6b1ca27..8bb69bc 100644 --- a/default/options.conf +++ b/default/options.conf @@ -89,3 +89,14 @@ # Most mail servers require an existing domain in order to accept mails. #email lcr@your.domain +# Directory to write lock file and admin socket file to. +# If /var/run does not have the rights to run LCR, you may choose /var/tmp +# or any directory with the appropiet rights LCR runs with. +#lock /var/run + +# Change rights of LCR socket, where lcradmin or chan_lcr connects to. +# By default 700 (user only) rights are set. If Asterisk runs with a different +# user, the rights may be changed to all users (777). +# Rights must have 0 in front, if octal values above are used. +#socketrights 0700 + -- cgit v1.2.3-55-g7522