浏览代码

Remove dovecot symlink

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

+ 3
- 0
src/freedombone-base-email 查看文件

1183
         rm /var/lib/dovecot/ssl-parameters.dat
1183
         rm /var/lib/dovecot/ssl-parameters.dat
1184
     fi
1184
     fi
1185
 
1185
 
1186
+    if [ -f /etc/systemd/system/sockets.target.wants/dovecot.socket ]; then
1187
+        rm /etc/systemd/system/sockets.target.wants/dovecot.socket
1188
+    fi
1186
     systemctl restart dovecot
1189
     systemctl restart dovecot
1187
     mark_completed $FUNCNAME
1190
     mark_completed $FUNCNAME
1188
 }
1191
 }