1
mirror of https://github.com/jakejarvis/docker-tor.git synced 2025-04-26 03:05:21 -04:00
docker-tor/entrypoint.sh
2022-12-29 11:35:34 -05:00

10 lines
190 B
Bash
Executable File

#!/bin/sh
set -o errexit
# fix permissions
find /var/lib/tor -type d -exec chmod -v 700 {} \;
find /var/lib/tor -type f -exec chmod -v 600 {} \;
chown -R debian-tor /var/lib/tor
exec "$@"