Centos 6.9 manually adds startup configuration
Centos 6.9 manually adds startup configuration startup directory /etc/init.d/ Create a new startup file vi /etc/init.d/frpsThe content is as follows #! /bin/bash # chkconfig: 2345 90 10 # description: Starts/Stops the Frps Server /usr/frp/frps -c /usr/frp/frps.ini &Give execution permission chmod +x frpsAdd to startup items chkconfig --add frps #添加 chkconfig --del frps #删除Setup start chkconfig frps on #启动 chkconfig frps off #关闭