Keep a copy of tor daemon

This commit is contained in:
bashrc committed 2021-01-31 22:04:22 +00:00
1 parent 6d2ecf32ff
commit 6bb8847952
1 file changed
+1
+1
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