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


 

  • 将软件的启动脚本copy到/etc/init.d/soft_name
 
          chmod 777 soft_name
 
  • 设置服务开机启动
 
chkconfig soft_name on
 
  • 启动/关闭服务
 
service soft_name start/restart/stop/status
posted @ 2017-02-23 15:47  二十六度半  阅读(247)  评论(0编辑  收藏  举报