Bug#902619: coturn: Systemd configuration

Jörg Sommer joerg at alea.gnuu.de
Thu Jun 28 17:14:57 BST 2018


Package: coturn
Version: 4.5.0.5-1+b1
Severity: normal

Hi,

I've created a configuration for Systemd to replace the autogenerated
one. Maybe you would like to include this in the package. Systemd doesn't
need the `TURNSERVER_ENABLED`, because it supports enabling/disabling
services itself.

I've used the file at
https://github.com/coturn/coturn/blob/master/rpm/turnserver.service.fc as
template.

[Unit]
Description=coturn
Documentation=man:coturn(1) man:turnadmin(1) man:turnserver(1)
After=network.target

[Service]
User=turnserver
Group=turnserver
# if you use SSL
#SupplementaryGroups=ssl-cert
Type=simple
PIDFile=/run/turnserver.pid
ExecStart=/usr/bin/turnserver -c /etc/turnserver.conf --pidfile /dev/null --log-file stdout
Restart=on-abort

LimitNOFILE=999999
LimitNPROC=60000
LimitRTPRIO=infinity
LimitRTTIME=7000000
CPUSchedulingPolicy=other
UMask=0007

[Install]
WantedBy=multi-user.target

Regards Jörg

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-rc3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages coturn depends on:
ii  adduser                  3.117
ii  libc6                    2.27-3
pn  libevent-core-2.1-6      <none>
pn  libevent-extra-2.1-6     <none>
pn  libevent-openssl-2.1-6   <none>
pn  libevent-pthreads-2.1-6  <none>
pn  libhiredis0.13           <none>
pn  libmariadbclient18       <none>
ii  libpq5                   10.4-2
ii  libsqlite3-0             3.24.0-1
ii  libssl1.1                1.1.0h-4
ii  lsb-base                 9.20170808
ii  telnet [telnet-client]   0.17-41

coturn recommends no packages.

Versions of packages coturn suggests:
pn  sip-router   <none>
pn  xmpp-server  <none>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20180628/4a7c9fee/attachment.sig>


More information about the Pkg-voip-maintainers mailing list