Skip to content

Instantly share code, notes, and snippets.

@yuhr123
Created March 22, 2018 00:35
Show Gist options
  • Save yuhr123/fe23e251f4381ca88c2fb4d7f5c2a85d to your computer and use it in GitHub Desktop.
Save yuhr123/fe23e251f4381ca88c2fb4d7f5c2a85d to your computer and use it in GitHub Desktop.
FRP 客户端 runit 脚本示例
#!/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