RoaringBox/Konfiguration

Aus UUGRN

RoaringBox verwendet folgende Konfigurationen:

Gemeinsam

/etc/mini-httpd.conf

# Example config for mini_httpd.
# Author: Marvin Stark <marv@der-marv.de>

# Uncomment this line for turning on ssl support.
#ssl

# On which host mini_httpd should bind?
#host=localhost

# On which port mini_httpd should listen?
port=80

# Which user mini_httpd should use?
user=romie

# Run in chroot mode?
#chroot # yes
nochroot # no

# Working directory of mini_httpd.
#dir=<work_dir>

# We are the web files stored?
data_dir=/var/lib/romie/htdocs

# Which certificate to use?
#certfile=<certfile>

# Which logfile to use?
#logfile=/var/log/mini-httpd.log

# Which pidfile to use?
pidfile=/var/run/mini-httpd.pid

# Which charset to use?
charset=iso-8859-1

# CGI Pattern
cgipat=**.cgi

/etc/default/roaraudio

#RoarAudio Configuration

# --- [ General Options ]---

# Start roard? YES or NO:
ROARD='YES'

# Additionl Options to pass to roard, should normally be empty
ROARD_OPTS='--new-sock -u -b /tmp/roar'

# Should we run roard in realtime mode:
# NO     - Don't run in realtime mode
# YES    - Run in realtime mode
# DOUBLE - Try to run in a 'very realtime mode'
ROARD_REALTIME='YES'

# PIDFile for roard:
# Default is enabled at /var/run/roard.pid
# Set to empty string to disable.
PIDFILE='/var/run/roard.pid'

# Location of roard:
# This is a human readable location of the roard used
# for Zero Conf locating of a RoarAudio server on the
# Network. To use Zero Conf enable SLP (see below).
#ROARD_LOCATION=''

# Default location for roard:
# Set this to a remote address and disable local roard
# to run a network only setup.
# ROARAUDIO_DEFAULT_SOCKET='server.local'

# --- [ Network ] ---

# Listening socket's address family:
# UNIX   - Local connections only
# TCP    - Connections via TCP/IP
# DECnet - Connections via DECnet
ROARD_AF='TCP'

# Socket to listen on (UNIX):
#ROARD_SOCKET='/tmp/roar'

# Port to listen on (TCP):
# ROARD_PORT=16002

# Host/Nodename to listen on (TCP, DECnet):
# use a value of '0.0.0.0' to listen publicly for TCP.
ROARD_HOST='0.0.0.0'

# Object to listen on (DECnet):
# ROARD_OBJECT='roar'

# Annouce us via OpenSLP:
# Set to YES or NO.
# In case of YES roarclients can autolocat this server
# on the network.
ROARD_SLP='NO'

# --- [ EsounD Emulation ] ---

# Listen socket for server side EsounD emulation::
# NONE   - Disable EsounD emulation
# UNIX   - Local connections only
# TCP    - Connections via TCP/IP
ROARD_EMUL_ESD_AF='TCP'

# --- [ Audio and Devices ] ---

# Samplerate, number of channels and bits per sample:
# ROARD_RATE=44100
# ROARD_CHANNELS=2
# ROARD_BITS=16

# Sound Driver and Device:
# To get a list run: roard --list-driver
# Don't forget to include 'sync' in the options unless
# you REALLY, REALLY know what you are doing
# ROARD_DRIVER='oss'
# ROARD_DEVICE='/dev/dsp'
# ROARD_DRIVER_OPTIONS='sync'

# --- [ Permitions ] ---

# User and Group to run roard with:
# Note: Users in the same group my access roard
#       if runnung in UNIX mode.
ROARD_USER='roard'
ROARD_GROUP='audio'

# --- [ Security ] ---

# Directory to chroot to:
# Use empty value to disable.
# Directory may/should be completly empty.
ROARD_CHROOT='/var/empty'

#ll

/etc/default/rpld

#RoarAudio PlayList Daemon (RPLD) Configuration

# --- [ General Options ]---

# Start rpld? YES or NO:
RPLD='YES'

# Additionl Options to pass to rpld, should normally be empty
RPLD_OPTS=''

# PIDFile for rpld:
# Default is enabled at /var/run/rpld.pid
# Set to empty string to disable.
# PIDFILE='/var/run/rpld.pid'

# Server address of roard:
# Default: libroar buildin server list.
# ROARAUDIO_SERVER='server.local'

# --- [ Network ] ---

# Listening socket's address family:
# UNIX   - Local connections only
# TCP    - Connections via TCP/IP
RPLD_AF='TCP'

# Socket to listen on (UNIX):
#RPLD_SOCKET='/tmp/.rpld'

# Port to listen on (TCP):
# RPLD_PORT=24148

# Host/Nodename to listen on (TCP):
# use a value of '0.0.0.0' to listen publicly for TCP.
RPLD_HOST='0.0.0.0'

# --- [ Storing and Restoring ]---

# Where to store to?:
RPLD_STORE_LOCATION='/var/lib/roarplaylistd/'

# ReStore on startup:
RPLD_RESTORE='true'

# Store on exit:
RPLD_STORE='true'

# --- [ Permitions ] ---

# User to run rpld as:
RPLD_USER='roard'

# User and Group to set on socket:
# Note: Users in the same group my access rpld
# RPLD_SOCK_USER='roard'
# RPLD_SOCK_GROUP='audio'

#ll

/etc/ld.so.conf.d/roaraudio.conf

/usr/local/lib/

/etc/romie.conf

RoaringBox 128/*

/etc/default/mini-httpd

# Defaults for mini_httpd initscript
# Author: Marvin Stark <marv@der-marv.de>

# Start daemon?
START=0

# Additional options that are passed to the Daemon.
DAEMON_OPTS="-C /etc/mini-httpd.conf"

RoaringBox 512/*

/etc/default/mini-httpd

# Defaults for mini_httpd initscript
# Author: Marvin Stark <marv@der-marv.de>

# Start daemon?
# 0 = no
# 1 = yes
START=1

# Additional options that are passed to the Daemon.
DAEMON_OPTS="-C /etc/mini-httpd.conf"

Siehe Auch

UUGRN-Wiki verbessern („Stub”)

Dieser Artikel ist leider sehr kurz. Also: Sei mutig und mache aus ihm bitte einen guten Artikel, wenn du mehr zum Thema „RoaringBox/Konfiguration” weißt.