Skip to content

Commit

Permalink
Add disable script and default to console output on.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdicola committed Feb 11, 2015
1 parent daaafed commit c99b7e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
11 changes: 11 additions & 0 deletions disable.sh
Original file line number Diff line number Diff line change
@@ -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
7 changes: 3 additions & 4 deletions video_looper.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ bgcolor = 0, 0, 0
# above. Default is 255, 255, 255 or white.
fgcolor = 255, 255, 255

# Enable some output to standard output with program state. Good for debugging
# but otherwise should be disabled.
console_output = false
#console_output = true
# Output program state to standard output if true.
console_output = true
#console_output = false

# Directory file reader configuration follows.
[directory]
Expand Down

0 comments on commit c99b7e3

Please sign in to comment.