The commands in the /etc/rc.d/rc.local file are not executed after the Linux system is turned on (solved)

Today, I want to add the svn service on linux system to boot from the start, restart the machine results found no svn service, checked the added to the command /etc/rc.d/rc.local file is not a problem, as follows: Insert picture description here
read The comment part of the file only realized that it was necessary to add execution permission to the /etc/rc.d/rc.local file. I immediately checked the file permission, and it turned out that there was no execution permission, as shown in the following figure:
Insert picture description here
Then give /etc/rc.d After adding the execution permission to the /rc.local file, restart the machine, and sure enough, svn also started
chmod +x /etc/rc.d/rc.local

Guess you like

Origin blog.csdn.net/weixin_44901564/article/details/111995168