diff --git a/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh b/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh index 121468e..0c99521 100755 --- a/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh +++ b/rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh @@ -230,7 +230,8 @@ __update_conf_files() { # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # custom commands - + chmod 600 /run/tor + chown -Rf ${SERVICE_USER:-$RUNAS_USER}:${SERVICE_GROUP:-$RUNAS_USER} /run/tor # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # replace variables diff --git a/rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh b/rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh index 08475a5..1aa58da 100755 --- a/rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh +++ b/rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh @@ -230,7 +230,8 @@ __update_conf_files() { # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # custom commands - + chmod 600 /run/tor + chown -Rf ${SERVICE_USER:-$RUNAS_USER}:${SERVICE_GROUP:-$RUNAS_USER} /run/tor # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # replace variables diff --git a/rootfs/usr/local/etc/docker/init.d/04-tor-hidden.sh b/rootfs/usr/local/etc/docker/init.d/04-tor-hidden.sh index d486c9b..61ec949 100755 --- a/rootfs/usr/local/etc/docker/init.d/04-tor-hidden.sh +++ b/rootfs/usr/local/etc/docker/init.d/04-tor-hidden.sh @@ -230,7 +230,8 @@ __update_conf_files() { # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # custom commands - + chmod 600 /run/tor + chown -Rf ${SERVICE_USER:-$RUNAS_USER}:${SERVICE_GROUP:-$RUNAS_USER} /run/tor # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # replace variables