浏览代码

Delete mailpile user on removal

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

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

@@ -123,6 +123,9 @@ function remove_mailpile {
123 123
         fi
124 124
         function_check remove_ddns_domain
125 125
         remove_ddns_domain $MAILPILE_DOMAIN_NAME
126
+        deluser --remove-all-files mailpile
127
+    else
128
+        deluser mailpile
126 129
     fi
127 130
 
128 131
     remove_config_param MAILPILE_DOMAIN_NAME