Hey,
On 05.08.2022 18:28, Omar Polo wrote:
> which version? are you using some custom flags in /etc/rc.conf.local?
> By any chance, did you enabled(/uncommented) the `pidfile' directive
> in /etc/turnserver.conf?
I'm also running 4.5.2p2 on OpenBSD 7.1-stable without any custom flags
in /etc/rc.conf.local. The following is logged to syslog after startup:
turnserver: 0: : Cannot create pid file: /var/run/turnserver.pid
turnserver: 0: : pid file created: /var/tmp/turnserver.pid
And the pidfile exists:
$ ls -l /tmp/turnserver.pid
-rw-r--r-- 1 _turnserver wheel 6 Aug 5 22:18 /tmp/turnserver.pid
I certainly don't have pidfile set in /etc/turnserver.conf, but maybe
any of these options I use are responsible for this:
# egrep -v -e '^#' -e '^$' /etc/turnserver.conf | cut -d= -f1 | sort -u
alt-listening-port
listening-ip
no-cli
no-dtls
no-multicast-peers
no-software-attribute
no-tcp
no-tcp-relay
no-tls
realm
relay-ip
static-auth-secret
syslog
use-auth-secret
I have to check this in more detail tomorrow.
On 05.08.2022 18:31, Stuart Henderson wrote:
> the "daemon" variable should only be what's _required_ to run it,
> something like --pidfile (if it is indeed required) should be in daemon_flags
> so it can be overridden
Right, my bad, sorry. I will send a correct diff when this is clarified
and indeed required.
No comments:
Post a Comment