Add disable script and default to console output on.

This commit is contained in:
Tony DiCola 2015-02-10 22:59:16 -08:00
parent daaafedb45
commit c99b7e3c1f
2 changed files with 14 additions and 4 deletions

11
disable.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
# Make sure script is run as root.
if [ "$(id -u)" != "0" ]; then
echo "Must be run as root with sudo! Try: sudo ./disable.sh"
exit 1
fi
# Disable any supervisor process that start video looper.
supervisorctl stop video_looper
mv /etc/supervisor/conf.d/video_looper.conf /etc/supervisor/conf.d/video_looper.conf.disabled

View File

@ -43,10 +43,9 @@ bgcolor = 0, 0, 0
# above. Default is 255, 255, 255 or white. # above. Default is 255, 255, 255 or white.
fgcolor = 255, 255, 255 fgcolor = 255, 255, 255
# Enable some output to standard output with program state. Good for debugging # Output program state to standard output if true.
# but otherwise should be disabled. console_output = true
console_output = false #console_output = false
#console_output = true
# Directory file reader configuration follows. # Directory file reader configuration follows.
[directory] [directory]