Linux下软件设成系统服务运行

时间:2023-03-09 20:11:31
Linux下软件设成系统服务运行
  • 将软件的启动脚本copy到/etc/init.d/soft_name
 
          chmod 777 soft_name
 
  • 设置服务开机启动
chkconfig soft_name on
  • 启动/关闭服务
service soft_name start/restart/stop/status

相关文章