mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
Chown tor folders
This commit is contained in:
parent
d3538a2676
commit
6f06744255
|
@ -536,7 +536,7 @@ for f in /var/lib/tor/mynode*; do
|
||||||
rsync --ignore-existing -r -avh $f /mnt/hdd/mynode/tor_backup/ || true
|
rsync --ignore-existing -r -avh $f /mnt/hdd/mynode/tor_backup/ || true
|
||||||
done
|
done
|
||||||
cp -a -f /mnt/hdd/mynode/tor_backup/. /var/lib/tor/ || true
|
cp -a -f /mnt/hdd/mynode/tor_backup/. /var/lib/tor/ || true
|
||||||
chown debian-tor:debian-tor /var/lib/tor
|
chown -R debian-tor:debian-tor /var/lib/tor
|
||||||
systemctl restart tor || true
|
systemctl restart tor || true
|
||||||
|
|
||||||
# Setup udev
|
# Setup udev
|
||||||
|
|
Loading…
Reference in New Issue
Block a user