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



 

  • 将软件的启动脚本copy到/etc/init.d/soft_name
            chmod 777 soft_name  
  • 设置服务开机启动
  chkconfig soft_name on  
  • 启动/关闭服务
  service soft_name start/restart/stop/status

相关内容

    暂无相关文章