chkconfig添加进入服务后,出现的现象

比如在php-fpm添加服务中,一部分脚步如下

#!/bin/sh
       #
       # php-fpm - this script starts and stops the php-fpm daemin
       #
       # chkconfig: 2345 76 25
       # processname: php-fpm
       # config:      /usr/local/php/etc/php-fpm.conf

 

 

 

chkconfig --add php-fpm之后,会在/etc下面的rc?.d中出现对应的文件

 ls rc?.d
rc0.d:
K05wdaemon         K50dnsmasq           K75ntpdate         K88rsyslog
K10redis           K50netconsole        K75udev-post       K89iscsid
K10saslauthd       K50vsftpd            K84NetworkManager  K89rdisc
K15svnserve        K50xinetd            K84wpa_supplicant  K90network
K25php-fpm         K60crond             K85mdmonitor       K92ip6tables
K25sshd            K73winbind           K85messagebus      K92iptables
K30postfix         K74haldaemon         K87multipathd      K95firstboot
K30spice-vdagentd  K74ntpd              K87restorecond     K99lvm2-monitor
K35nmb             K75blk-availability  K88auditd          S00killall
K35smb             K75netfs             K88iscsi           S01halt

rc1.d:
K05wdaemon         K50dnsmasq     K84NetworkManager  K89rdisc
K10redis           K50netconsole  K84wpa_supplicant  K92ip6tables
K10saslauthd       K50vsftpd      K85mdmonitor       K92iptables
K15svnserve        K50xinetd      K85messagebus      K95firstboot
K25php-fpm         K60crond       K87multipathd      S02lvm2-monitor
K25sshd            K73winbind     K87restorecond     S10network
K30postfix         K74haldaemon   K88auditd          S25blk-availability
K30spice-vdagentd  K74ntpd        K88iscsi           S26udev-post
K35nmb             K75netfs       K88rsyslog         S99single
K35smb             K75ntpdate     K89iscsid

rc2.d:
K05wdaemon         K73winbind         K89iscsid        S22messagebus
K10saslauthd       K74haldaemon       K89rdisc         S25blk-availability
K15svnserve        K74ntpd            K92iptables      S26udev-post
K30spice-vdagentd  K75netfs           K95firstboot     S55sshd
K35nmb             K75ntpdate         S02lvm2-monitor  S76php-fpm
K35smb             K84NetworkManager  S08ip6tables     S80postfix
K50dnsmasq         K84wpa_supplicant  S10network       S90crond
K50netconsole      K87multipathd      S11auditd        S90redis
K50vsftpd          K87restorecond     S12rsyslog       S99local
K50xinetd          K88iscsi           S15mdmonitor

rc3.d:
K05wdaemon         K74ntpd            S07iscsid            S26haldaemon
K10saslauthd       K75ntpdate         S08ip6tables         S26udev-post
K15svnserve        K84NetworkManager  S10network           S55sshd
K30spice-vdagentd  K84wpa_supplicant  S11auditd            S56xinetd
K35nmb             K87multipathd      S12rsyslog           S76php-fpm
K35smb             K87restorecond     S13iscsi             S80postfix
K50dnsmasq         K89rdisc           S15mdmonitor         S90crond
K50netconsole      K92iptables        S22messagebus        S90redis
K50vsftpd          K95firstboot       S25blk-availability  S99local
K73winbind         S02lvm2-monitor    S25netfs

rc4.d:
K05wdaemon         K74ntpd            S07iscsid            S26haldaemon
K10saslauthd       K75ntpdate         S08ip6tables         S26udev-post
K15svnserve        K84NetworkManager  S10network           S55sshd
K30spice-vdagentd  K84wpa_supplicant  S11auditd            S56xinetd
K35nmb             K87multipathd      S12rsyslog           S76php-fpm
K35smb             K87restorecond     S13iscsi             S80postfix
K50dnsmasq         K89rdisc           S15mdmonitor         S90crond
K50netconsole      K92iptables        S22messagebus        S90redis
K50vsftpd          K95firstboot       S25blk-availability  S99local
K73winbind         S02lvm2-monitor    S25netfs

rc5.d:
K05wdaemon     K75ntpdate         S08ip6tables         S26udev-post
K10saslauthd   K84NetworkManager  S10network           S55sshd
K15svnserve    K84wpa_supplicant  S11auditd            S56xinetd
K35nmb         K87multipathd      S12rsyslog           S70spice-vdagentd
K35smb         K87restorecond     S13iscsi             S76php-fpm
K50dnsmasq     K89rdisc           S15mdmonitor         S80postfix
K50netconsole  K92iptables        S22messagebus        S90crond
K50vsftpd      K95firstboot       S25blk-availability  S90redis
K73winbind     S02lvm2-monitor    S25netfs             S99local
K74ntpd        S07iscsid          S26haldaemon

rc6.d:
K05wdaemon         K50dnsmasq           K75ntpdate         K88rsyslog
K10redis           K50netconsole        K75udev-post       K89iscsid
K10saslauthd       K50vsftpd            K84NetworkManager  K89rdisc
K15svnserve        K50xinetd            K84wpa_supplicant  K92ip6tables
K25php-fpm         K60crond             K85mdmonitor       K92iptables
K25sshd            K73winbind           K85messagebus      K95firstboot
K30postfix         K74haldaemon         K87multipathd      K99lvm2-monitor
K30spice-vdagentd  K74ntpd              K87restorecond     S00killall
K35nmb             K75blk-availability  K88auditd          S01reboot
K35smb             K75netfs             K88iscsi           S10network

你可能感兴趣的:(chkconfig)