Centos7 via / etc/ rc.local File configurator boot

Sh
[[email protected] ~]# vi start.sh
start exe
c>usr /dragon/tedr
./ ser>
Local
[[email protected] ~]# vi rc.local
uch /var/lock/subsys/local
nohup sh /usr/dragon/tedr/start.sh > /dev/null 2& > 1 &
Note: & amp; : Represents background execution
Local
[[email protected] ~]# chmod +x /etc/rc.d/rc.local
[email protected] ~]# ll /etc/rc.d/rc.local
[[email protected] ~]# ll /etc/rc.d/rc.local

[[email protected] ~]# reboot
[email protected] ~]# ps-a
[[email protected] ~]# reboot
[[email protected] ~]# ps-a


Read More: