mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 13:51:56 +08:00
12 lines
386 B
Bash
12 lines
386 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
source ./.env
|
||
|
|
||
|
sed -i "s/bindPort = .*$/bindPort = ${PANEL_APP_PORT_SERVICE}/" ./data/frps.toml
|
||
|
sed -i "s/webServer\.port = .*$/webServer.port = ${PANEL_APP_PORT_HTTP}/" ./data/frps.toml
|
||
|
sed -i "s/webServer\.user = \".*\"/webServer.user = \"${USER_NAME}\"/" ./data/frps.toml
|
||
|
sed -i "s/webServer\.password = \".*\"/webServer.password = \"${PASSWORD}\"/" ./data/frps.toml
|
||
|
|
||
|
|
||
|
|