<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    ivaneeo's blog

    自由的力量,自由的生活。

      BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
      669 Posts :: 0 Stories :: 64 Comments :: 0 Trackbacks

    在debian6中,加入開機啟動腳本的方法與debian5不同了,直接做符號鏈接到runlevel已經不起作用了,提示缺少LSB信息,并且用insserv來替代update-rc.d:

    root@14:/etc/rc2.d# update-rc.d -n  php_fastcgi.sh  defaults           
    update-rc.d: using dependency based boot sequencing
    insserv: warning: script 'K02php_fastcgi' missing LSB tags and overrides
    insserv: warning: script 'K01php_fastcgi.sh' missing LSB tags and overrides
    insserv: warning: script 'php_fastcgi.sh' missing LSB tags and overrides
    insserv: warning: current start runlevel(s) (empty) of script `php_fastcgi.sh' overwrites defaults (2 3 4 5).
    insserv: warning: current stop runlevel(s) (0) of script `php_fastcgi.sh' overwrites defaults (0 1 6).
    insserv: dryrun, not creating .depend.boot, .depend.start, and .depend.stop

    # insserv /etc/init.d/php_fastcgi.sh
    insserv: warning: script 'K02php_fastcgi' missing LSB tags and overrides
    insserv: warning: script 'php_fastcgi.sh' missing LSB tags and overrides

     

    debian6中將腳本加入到開機啟動的方法:

    在腳本中加入LSB描述信息。
    root@14:~# more  /etc/init.d/php_fastcgi.sh   
    #!/bin/sh
    ### BEGIN INIT INFO
    # Provides:          php_fastcgi.sh
    # Required-Start:    $local_fs $remote_fs $network $syslog
    # Required-Stop:     $local_fs $remote_fs $network $syslog
    # Default-Start:     2 3 4 5
    # Default-Stop:      0 1 6
    # Short-Description: starts the php_fastcgi daemon
    # Description:       starts php_fastcgi using start-stop-daemon
    ### END INIT INFO

    安裝啟動腳本到system init script。
    root@14:~# insserv -v -d /etc/init.d/php_fastcgi.sh

    重啟機器試試吧。

    posted on 2013-09-29 14:45 ivaneeo 閱讀(4817) 評論(0)  編輯  收藏 所屬分類: debian-企鵝中最像牛
    主站蜘蛛池模板: 成人a免费α片在线视频网站| 久久电影网午夜鲁丝片免费| 久久久久亚洲精品无码系列| 免费下载成人电影| 一本久久A久久免费精品不卡| 亚洲春色在线视频| 永久免费观看的毛片的网站| 久久精品成人免费国产片小草| 亚洲精品成人网站在线播放| 免费一级一片一毛片| 国产AV无码专区亚洲A∨毛片| 好男人视频在线观看免费看片| 国产免费网站看v片在线| 欧美日韩亚洲精品| 亚洲娇小性xxxx色| 亚洲av女电影网| 亚洲视频在线免费| 国产成人免费a在线视频色戒| 91网站免费观看| 久久国产乱子精品免费女| 好湿好大好紧好爽免费视频| 亚洲熟妇丰满xxxxx| 亚洲国产成人手机在线电影bd| 亚洲AV无码成人精品区在线观看| 免费人成网站在线播放| 日日夜夜精品免费视频| 永久免费毛片在线播放| 免费国产作爱视频网站| 国产成人精品免费视频网页大全| 免费在线观看一级片| a在线观看免费视频| 18禁在线无遮挡免费观看网站| 插鸡网站在线播放免费观看| 色多多A级毛片免费看| 伊人久久国产免费观看视频| 亚洲免费一区二区| 中国黄色免费网站| 小草在线看片免费人成视久网| 免费无码成人AV在线播放不卡| 99久久人妻精品免费二区| 国产曰批免费视频播放免费s|