2021-12-01 Fred Gleason <fredg@paravelsystems.com>

* Added support for JACK promiscuous mode to the 'rivendell'
	Systemd service.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-12-01 15:18:45 -05:00
parent 519a09fcee
commit 3c4e2bd6d7
6 changed files with 15 additions and 1 deletions

View File

@ -22576,3 +22576,6 @@
audio recordings manually.
2021-11-24 Fred Gleason <fredg@paravelsystems.com>
* Added a '--check-strings' switch to rddbmgr(8).
2021-12-01 Fred Gleason <fredg@paravelsystems.com>
* Added support for JACK promiscuous mode to the 'rivendell'
Systemd service.

View File

@ -1,6 +1,6 @@
## Makefile.am
##
## (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
## (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License version 2 as
@ -33,6 +33,7 @@ EXTRA_DIST = asound.conf-sample\
rd-bin.conf.in\
rd.conf-sample\
rivendell.pam\
rivendell-env.sh\
rivendell-webapi.conf\
syslog.conf-sample

4
conf/rivendell-env.sh Normal file
View File

@ -0,0 +1,4 @@
#
# Run jackd(1) in promiscuous mode
#
export JACK_PROMISCUOUS_SERVER=audio

3
debian/postinst vendored
View File

@ -26,6 +26,9 @@ case "$1" in
mv /etc/rd.conf /etc/rivendell.d/rd-default.conf
ln -s /etc/rivendell.d/rd-default.conf /etc/rd.conf
fi
if test ! -e /etc/profile.d/rivendell-env.sh ; then
cp /usr/share/rivendell/rivendell-env.sh /etc/profile.d/
fi
#
# FIXME: Configure ALSA Here!
#

2
debian/rules vendored
View File

@ -137,6 +137,8 @@ binary:
rm -rf debian/tmp/var
mkdir -p debian/rivendell/etc/logrotate.d
cp conf/logrotate-sample debian/rivendell/etc/logrotate.d/rivendell
mkdir -p debian/rivendell/usr/share/rivendell
cp conf/rivendell-env.sh debian/rivendell/usr/share/rivendell
mkdir -p debian/rivendell/usr/share/rivendell/logos
cp icons/webget_logo.png debian/rivendell/usr/share/rivendell/logos/
mkdir -p debian/rivendell/usr/share/doc/rivendell/logos

View File

@ -8,6 +8,7 @@ After=network.target remote-fs.target nss-lookup.target
LimitNOFILE=4096
Type=simple
ExecStart=@prefix@/sbin/rdservice
Environment=JACK_PROMISCUOUS_SERVER=audio
PrivateTmp=false
Restart=always
RestartSec=2