docker-frp/run.sh

10 lines
111 B
Bash
Raw Normal View History

2020-07-09 07:47:27 +00:00
#!/bin/sh
2020-07-09 07:59:42 +00:00
cd /opt/frp
2020-07-09 07:47:27 +00:00
if [ -z $SERVER ] ; then
2021-02-17 05:39:08 +00:00
exec ./frpc -c ./frpc.ini
2020-07-09 07:47:27 +00:00
else
2021-02-17 05:39:08 +00:00
exec ./frps -c ./frps.ini
2020-07-09 07:47:27 +00:00
fi