2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 18:17:18 +08:00

feat: frp管理器

This commit is contained in:
耗子
2024-06-03 02:07:21 +08:00
parent c3f9f56f11
commit 0c3c47361b
15 changed files with 1301 additions and 72 deletions

View File

@@ -21,6 +21,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
HR="+----------------------------------------------------"
OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown")
systemctl stop rsync
systemctl disable rsync
rm -f /etc/systemd/system/rsyncd.service
systemctl daemon-reload
if [ "${OS}" == "centos" ]; then
dnf remove -y rsync
elif [ "${OS}" == "debian" ]; then