Keep a copy of tor daemon

main
Bob Mottram 2021-01-31 22:04:22 +00:00
parent 6d2ecf32ff
commit 6bb8847952
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ if [[ "$(uname -a)" == *'Debian'* ]]; then
echo '';
echo '[Install]';
echo 'WantedBy=multi-user.target'; } > /lib/systemd/system/tor.service
cp /lib/systemd/system/tor.service /root/tor.service
systemctl daemon-reload
systemctl restart tor
fi