美文网首页
Linux开机启动设置文件

Linux开机启动设置文件

作者: lookphp | 来源:发表于2019-10-17 11:44 被阅读0次

    方法一:
    chkconfig

    方法二:
    /etc/rc.local

    #!/bin/sh
    #
    # This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.
    
    touch /var/lock/subsys/local
    ulimit -SHn 102400
    redis-server /etc/redis1.conf
    redis-server /etc/redis2.conf
    redis-server /etc/redis3.conf
    /home/seim/program/bin/start.sh
    
    

    相关文章

      网友评论

          本文标题:Linux开机启动设置文件

          本文链接:https://www.haomeiwen.com/subject/gzuructx.html