Skip to content

Commit

Permalink
Fix: Frp admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
ARTI5T committed Nov 14, 2023
1 parent 8347f67 commit ab95eb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/launch-frp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ else
echo "Starting FRPS..."
fi

if [ ${FRP_WEBSERVER_ENABLED} ]; then
ln -s ${FRP_HOME}/conf-enabled/frps-webserver.toml ${FRP_HOME}/conf-available/frps-webserver.toml
else
rm -f ${FRP_HOME}/conf-enabled/frps-webserver.toml
rm -f ${FRP_HOME}/conf-enabled/frps-webserver.toml
if [ ${FRPS_WEBSERVER_ENABLED} ]; then
ln -s ${FRP_HOME}/conf-available/frps-webserver.toml ${FRP_HOME}/conf-enabled/frps-webserver.toml
fi

exec ${FRP_HOME}/frps -c ${FRP_HOME}/frps-mua-entry-main.toml

0 comments on commit ab95eb2

Please sign in to comment.