mirror of
https://github.com/RoboSats/robosats-web-host.git
synced 2025-07-21 10:13:31 +00:00
13 lines
249 B
Bash
Executable File
13 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Change local user id and group
|
|
usermod -u 1000 alice
|
|
groupmod -g 1000 alice
|
|
|
|
# Set correct owners on volumes
|
|
chown -R tor:alice /var/lib/tor
|
|
chown -R :alice /etc/tor
|
|
chown -R alice:alice /home/alice
|
|
|
|
exec sudo -u tor /usr/bin/tor |