-fix uninstall scripts -make daemon script for media-monitor and show-recorder -create pid file for liquidsoap -fix airtime-check-system -make sure all startup scripts are using exec
17 lines
416 B
Bash
Executable file
17 lines
416 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Location of pypo_cli.py Python script
|
|
media_monitor_path="/usr/lib/airtime/media-monitor/"
|
|
media_monitor_script="MediaMonitor.py"
|
|
|
|
api_client_path="/usr/lib/airtime/pypo/"
|
|
cd ${media_monitor_path}
|
|
|
|
exec 2>&1
|
|
|
|
export PYTHONPATH=${api_client_path}
|
|
|
|
# Note the -u when calling python! we need it to get unbuffered binary stdout and stderr
|
|
exec python -u ${media_monitor_path}${media_monitor_script}
|
|
|
|
# EOF
|