Many fixes to the pypo installer scripts.
This commit is contained in:
parent
71735b683d
commit
5e04c806bd
6 changed files with 55 additions and 34 deletions
|
@ -1,10 +1,13 @@
|
|||
#!/bin/sh
|
||||
ls_user="pypo"
|
||||
export HOME="/home/pypo/"
|
||||
ls_path="/usr/local/bin/liquidsoap"
|
||||
#ls_path="/usr/local/bin/liquidsoap"
|
||||
ls_path="/opt/pypo/bin/liquidsoap/liquidsoap"
|
||||
ls_param="/opt/pypo/bin/scripts/ls_script.liq"
|
||||
echo "*** Daemontools: starting liquidsoap"
|
||||
echo "cp /opt/pypo/files/basic/silence.lsp /opt/pypo/cache/current.lsp"
|
||||
cp /opt/pypo/files/basic/silence.lsp /opt/pypo/cache/current.lsp
|
||||
exec 2>&1
|
||||
exec sudo -u ${ls_user} ${ls_path} ${ls_param}
|
||||
echo "exec sudo -u ${ls_user} ${ls_path} ${ls_param} "
|
||||
cd /opt/pypo/bin/scripts && sudo -u ${ls_user} ${ls_path} ${ls_param}
|
||||
# EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue