diff options
Diffstat (limited to 'addons/x11infoscreen/usr/local/bin/launch-qiv')
-rwxr-xr-x | addons/x11infoscreen/usr/local/bin/launch-qiv | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/addons/x11infoscreen/usr/local/bin/launch-qiv b/addons/x11infoscreen/usr/local/bin/launch-qiv new file mode 100755 index 0000000..347fa84 --- /dev/null +++ b/addons/x11infoscreen/usr/local/bin/launch-qiv @@ -0,0 +1,19 @@ +#!/usr/bin/launchtool -C + +tag = qiv +#command = DISPLAY=:0 qiv --full-screen --slideshow-delay 15 /var/lib/infoscreen/*.png; exit 0 +command = export DISPLAY=:0; /usr/local/bin/xset s reset; /usr/local/bin/xset s off; for file in `find /var/lib/infoscreen -name '*.png'`; do qiv -m --root $file; sleep 15; done; exit 0 +daemon = yes +stats = yes +#user = myserver +#root dir = /tmp +#process count limit = 5 +#open files limit = 10 +wait times = 1,1,1,3,3,3,10,10,10 +infinite runs = yes +launchtool output = syslog:qiv,LOG_DAEMON,LOG_INFO +launchtool errors = syslog:qiv,LOG_DAEMON,LOG_ERR +command output = syslog:qiv,LOG_DAEMON,LOG_INFO +command errors = syslog:qiv,LOG_DAEMON,LOG_ERR +silent restart time = 5 +silent restart status = 0 |