- Timestamp:
- Jun 29, 2010, 7:10:14 PM (14 years ago)
- Branches:
- master, debian, mac, no-cups, web
- Children:
- 25df647
- Parents:
- cd17920
- git-author:
- Jessica B. Hamrick <jhamrick@…> (06/29/10 19:10:14)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (06/29/10 19:10:14)
- Location:
- queue/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
queue/lib/build-gutenbach-queue
r6157f97 r8b676cb 1 1 #!/bin/bash 2 2 3 if [ -e / var/run/gutenbach/current_queue_temp ]; then4 rm / var/run/gutenbach/current_queue_temp3 if [ -e /tmp/gutenbach/current_queue_temp ]; then 4 rm /tmp/gutenbach/current_queue_temp 5 5 fi 6 6 7 7 while true; do 8 8 time=$(date) 9 echo "This is a work in progress! Please send bugs to jhamrick." >> / var/run/gutenbach/current_queue_temp10 echo "" >> / var/run/gutenbach/current_queue_temp11 echo "As of $time:" >> / var/run/gutenbach/current_queue_temp12 echo "" >> / var/run/gutenbach/current_queue_temp13 /usr/lib/gutenbach/queue/queue >> / var/run/gutenbach/current_queue_temp14 mv / var/run/gutenbach/current_queue_temp /var/run/gutenbach/current_queue15 chmod ugoa+r / var/run/gutenbach/current_queue9 echo "This is a work in progress! Please send bugs to jhamrick." >> /tmp/gutenbach/current_queue_temp 10 echo "" >> /tmp/gutenbach/current_queue_temp 11 echo "As of $time:" >> /tmp/gutenbach/current_queue_temp 12 echo "" >> /tmp/gutenbach/current_queue_temp 13 /usr/lib/gutenbach/queue/queue >> /tmp/gutenbach/current_queue_temp 14 mv /tmp/gutenbach/current_queue_temp /tmp/gutenbach/current_queue 15 chmod ugoa+r /tmp/gutenbach/current_queue 16 16 done -
queue/lib/view-gutenbach-queue
r30beeab r8b676cb 1 1 #!/bin/bash 2 2 3 daemon --running --name gutenbach-queue -F / var/run/gutenbach/gutenbach-queue.pid3 daemon --running --name gutenbach-queue -F /tmp/gutenbach/gutenbach-queue.pid 4 4 if [ "$?" == 0 ]; then 5 5 setterm -blank 0 6 watch -t -n 1 cat / var/run/gutenbach/current_queue6 watch -t -n 1 cat /tmp/gutenbach/current_queue 7 7 else 8 8 echo "The gutenbach queue daemon is not running. Please start it at /etc/init.d/gutenbach-queue."
Note: See TracChangeset
for help on using the changeset viewer.