浏览代码

Remove tahoelafs password file

Bob Mottram 8 年前
父节点
当前提交
277cac62af
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/freedombone-app-tahoelafs

+ 3
- 0
src/freedombone-app-tahoelafs 查看文件

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