-
-
Save jasonliu201804/1b2c86af2530e041f586ee14c6e124c1 to your computer and use it in GitHub Desktop.
/etc/init.d/frpc on OpenWrt
This file contains hidden or 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 /etc/rc.common | |
START=99 | |
USE_PROCD=1 | |
start_service() { | |
procd_open_instance "frpc" | |
procd_set_param command /root/frp/frpc -c /root/frp/frpc.ini | |
procd_set_param stdout 1 | |
procd_set_param stderr 1 | |
procd_set_param user root | |
procd_close_instance | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment