ports/telephony/astmanproxy/patches/patch-configs_astmanproxy_conf

37 lines
1.3 KiB
Text

Index: configs/astmanproxy.conf
--- configs/astmanproxy.conf.orig
+++ configs/astmanproxy.conf
@@ -37,13 +37,13 @@ asteriskwritetimeout=100
clientwritetimeout=200
; Our server-side SSL certificate; what we use when answering clients
-certfile = /var/lib/asterisk/certs/proxy-server.pem
+certfile = /etc/astmanproxy/proxy-server.pem
; Address for proxy to listen on, can be set to * or x.x.x.x format
; recommend that you listen only on 127.0.0.1 or on an interface that
; is otherwise locked down to a trusted host, since the proxy
; currently provides NO authentication/authorization of its own
-listenaddress = *
+listenaddress = 127.0.0.1
; Port for proxy to listen on
listenport = 1234
@@ -62,8 +62,8 @@ authrequired = no
; proxykey = foobar
; local user and group for proxy to run as; will NOT run as root!
-proc_user = nobody
-proc_group = nobody
+proc_user = _astmanproxy
+proc_group = _astmanproxy
; default input and output format for clients
; inputformat = (standard|xml|http)
@@ -93,5 +93,5 @@ autofilter = off
; location of logfile -- will be owned by proc_user/proc_group
; /opt/log location is good on Mac OS X
;logfile = /opt/log/asterisk/astmanproxy.log
-logfile = /var/log/asterisk/astmanproxy.log
+logfile = /var/log/astmanproxy/astmanproxy.log