Linux开机启动设置文件

2019-10-17  本文已影响0人  lookphp

方法一:
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

上一篇下一篇

猜你喜欢

热点阅读