Simplify running module to fix stdout buffering issue with supervisor.
parent
71cd1ad185
commit
daaafedb45
@ -1,2 +1,2 @@
|
||||
# Import main program.
|
||||
from .video_looper import main
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Supervisord configuration to run video looper at boot and
|
||||
# ensure it runs continuously.
|
||||
[program:video_looper]
|
||||
command=video_looper
|
||||
command=python -u -m Adafruit_Video_Looper.video_looper
|
||||
autostart=true
|
||||
autorestart=unexpected
|
||||
startsecs=5
|
||||
|
Loading…
Reference in New Issue