pypi.sh 228 B

1234567
  1. #!/bin/bash
  2. if [ ! -d "$TUNASYNC_WORKING_DIR" ]; then
  3. echo "Directory not exists, fail"
  4. exit 1
  5. fi
  6. /usr/bin/timeout -s INT 3600 /home/tuna/.virtualenvs/bandersnatch/bin/bandersnatch -c /etc/bandersnatch.conf mirror || exit 1