Centos 6.9 手动添加开机启动配置
Centos 6.9 手动添加开机启动配置 启动目录 /etc/init.d/ 新建启动文件 vi /etc/init.d/frps内容如下 #! /bin/bash # chkconfig: 2345 90 10 # description: Starts/Stops the Frps Server /usr/frp/frps -c /usr/frp/frps.ini &给执行权限 chmod +x frps添加到启动项 chkconfig --add frps #添加 chkconfig --del frps #删除设置启动 chkconfig frps on #启动 chkconfig frps off #关闭