summaryrefslogtreecommitdiffstats
path: root/default
diff options
context:
space:
mode:
authorAndreas Eversberg2008-08-30 08:24:52 +0200
committerAndreas Eversberg2008-08-30 08:24:52 +0200
commitb1ab2b9ac1cfc15d2a8f5850145dd69043cc3ef7 (patch)
tree3c243a71fbb464557fe7b349dd0803bec0c33de3 /default
parentFix conversion string warnings, there are lot more like these. (diff)
downloadlcr-b1ab2b9ac1cfc15d2a8f5850145dd69043cc3ef7.tar.gz
lcr-b1ab2b9ac1cfc15d2a8f5850145dd69043cc3ef7.tar.xz
lcr-b1ab2b9ac1cfc15d2a8f5850145dd69043cc3ef7.zip
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
Diffstat (limited to 'default')
-rw-r--r--default/options.conf11
1 files changed, 11 insertions, 0 deletions
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
+