#!/bin/bash set -e # Set permissions for bitcoind echo "## Set permissions on /var/lib/tor dir ###" chmod 750 /var/lib/tor echo "## Start tor #############################" tor