Remove tahoelafs password file

This commit is contained in:
Bob Mottram 2017-03-08 16:40:12 +00:00
parent 6e12e97109
commit 277cac62af
1 changed files with 3 additions and 0 deletions

View File

@ -384,6 +384,9 @@ function remove_tahoelafs {
rm -rf /home/tahoelafs rm -rf /home/tahoelafs
fi fi
remove_app tahoelafs remove_app tahoelafs
if [ -f /etc/nginx/.htpasswd-tahoelafs ]; then
shred -zu /etc/nginx/.htpasswd-tahoelafs
fi
systemctl reload tor systemctl reload tor
} }