openbsd-ports/telephony/siproxd/patches/patch-doc_siproxd_conf_example
msf abf7f108fe update to 1.5.13
install configuration files to ${SYSCONFDIR} by default
use _siproxd unpriv user and chroot by default
take MAINTAINER

ok markus@
2006-11-27 11:16:50 +00:00

32 lines
1.3 KiB
Plaintext

$OpenBSD: patch-doc_siproxd_conf_example,v 1.1 2006/11/27 11:16:50 msf Exp $
--- doc/siproxd.conf.example.orig Mon Jun 19 01:28:42 2006
+++ doc/siproxd.conf.example Sun Nov 26 00:15:43 2006
@@ -80,15 +80,15 @@ log_calls = 1
# Secure Enviroment settings:
# user: uid/gid to switch to after startup
# chrootjail: path to chroot to (chroot jail)
-user = nobody
-#chrootjail = /var/lib/siproxd/
+user = _siproxd
+chrootjail = /var/siproxd/
######################################################################
# Registration file:
# Where to store the current registrations.
# An empty value means we do not save registrations. Make sure that
# the specified directory path does exist!
-registration_file = /var/lib/siproxd/siproxd_registrations
+registration_file = siproxd_registrations
######################################################################
# Automatically save current registrations every 'n' seconds
@@ -99,7 +99,7 @@ autosave_registrations = 300
# PID file:
# Where to create the PID file.
# This file holds the PID of the main thread of siproxd.
-pid_file = /var/run/siproxd/siproxd.pid
+pid_file = siproxd.pid
######################################################################
# global switch to control the RTP proxy behaviour