chkconfig

再起動したらnginxが起動しなかった。。

設定

[root@hostname ec2-user]# chkconfig --list nginx
nginx           0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@hostname ec2-user]# chkconfig nginx on
[root@hostname ec2-user]# chkconfig --list nginx
nginx           0:off   1:off   2:on    3:on    4:on    5:on    6:off