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. audio recordings manually.
2021-11-24 Fred Gleason <fredg@paravelsystems.com> 2021-11-24 Fred Gleason <fredg@paravelsystems.com>
* Added a '--check-strings' switch to rddbmgr(8). * 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 ## 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 ## 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 ## 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-bin.conf.in\
rd.conf-sample\ rd.conf-sample\
rivendell.pam\ rivendell.pam\
rivendell-env.sh\
rivendell-webapi.conf\ rivendell-webapi.conf\
syslog.conf-sample 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 mv /etc/rd.conf /etc/rivendell.d/rd-default.conf
ln -s /etc/rivendell.d/rd-default.conf /etc/rd.conf ln -s /etc/rivendell.d/rd-default.conf /etc/rd.conf
fi 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! # FIXME: Configure ALSA Here!
# #

2
debian/rules vendored
View File

@@ -137,6 +137,8 @@ binary:
rm -rf debian/tmp/var rm -rf debian/tmp/var
mkdir -p debian/rivendell/etc/logrotate.d mkdir -p debian/rivendell/etc/logrotate.d
cp conf/logrotate-sample debian/rivendell/etc/logrotate.d/rivendell 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 mkdir -p debian/rivendell/usr/share/rivendell/logos
cp icons/webget_logo.png 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 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 LimitNOFILE=4096
Type=simple Type=simple
ExecStart=@prefix@/sbin/rdservice ExecStart=@prefix@/sbin/rdservice
Environment=JACK_PROMISCUOUS_SERVER=audio
PrivateTmp=false PrivateTmp=false
Restart=always Restart=always
RestartSec=2 RestartSec=2