File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1919cd /app/databag/net/server
2020if [[ " $DEV " == " 1" ]]; then
2121 touch nohup.out
22- CGO_ENABLED=1 nohup go run main.go -p $DATABAG_PORT -w /app/databag/net/web/build -s /var/lib/databag -t /opt/databag/transform &
22+ nohup ./databag -p $DATABAG_PORT -w /app/databag/net/web/build -s /var/lib/databag -t /opt/databag/transform &
2323 tail -f nohup.out
2424else
2525 ./databag -p $DATABAG_PORT -w /app/databag/net/web/build -s /var/lib/databag -t /opt/databag/transform
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
3- TMPFILE=$( mktemp /tmp/databag-XXXXX )
3+ TMPFILE=$( mktemp)
44ffmpeg -ss $3 -i $1 -y -vframes 1 -q:v 2 $TMPFILE .jpg
55convert -strip $TMPFILE .jpg -auto-orient -resize ' 320x320>' $2
You can’t perform that action at this time.
0 commit comments