Pārlūkot izejas kodu

Add disable script and default to console output on.

pull/2/head
Tony DiCola pirms 10 gadiem
vecāks
revīzija
c99b7e3c1f
2 mainītis faili ar 14 papildinājumiem un 4 dzēšanām
  1. +11
    -0
      disable.sh
  2. +3
    -4
      video_looper.ini

+ 11
- 0
disable.sh Parādīt failu

@@ -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

+ 3
- 4
video_looper.ini Parādīt failu

@@ -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]


Notiek ielāde…
Atcelt
Saglabāt