Created
March 22, 2018 00:35
-
-
Save yuhr123/fe23e251f4381ca88c2fb4d7f5c2a85d to your computer and use it in GitHub Desktop.
FRP 客户端 runit 脚本示例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
FRPC=/usr/bin/frpc | |
CONFIG=/etc/frp/frpc.ini | |
LOG=/var/log/frp.log | |
USER=pi # change this with the actual user | |
exec chpst -u $USER $FRPC -c $CONFIG -L $LOG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment