Started adding the scripts to automatically run the scheduler at startup.
This commit is contained in:
parent
3c12256cb8
commit
a255fc4508
6 changed files with 49 additions and 7 deletions
|
@ -2,8 +2,7 @@
|
|||
# liquidsoap config file #
|
||||
###########################################
|
||||
|
||||
# this file is specific to the obp
|
||||
# installation. eg it assumes that there are
|
||||
# This config assumes that there are
|
||||
# two instances of LS running
|
||||
# the "scheduler" & the "fallback" instance
|
||||
|
||||
|
@ -12,12 +11,11 @@
|
|||
# general settings #
|
||||
###########################################
|
||||
|
||||
log_file = "/var/log/obp/ls/<script>.log"
|
||||
log_file = "/var/log/pypo/<script>.log"
|
||||
log_level = 5
|
||||
|
||||
# archive directory
|
||||
archive_dir = "/storage/pypo/archive/"
|
||||
|
||||
archive_dir = "/opt/pypo/archive/"
|
||||
|
||||
# list pointing to the current couchcaster mountpoint
|
||||
couchcaster_list = "http://stage.openbroadcast.ch/mod/ml/api/pypo/current_couchcaster"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# export home dir
|
||||
export HOME=/home/liquidsoap/
|
||||
#export HOME=/home/pypo/
|
||||
|
||||
# start liquidsoap with corresponding user & scrupt
|
||||
sudo -u liquidsoap /usr/local/bin/liquidsoap ls_script.liq
|
||||
sudo -u pypo /usr/local/bin/liquidsoap ls_script.liq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue