English 中文(简体)
在系统启动期间启动程序时,将文字与文字添加到系列<>。
原标题:Adding symlink to scripts into rc<number>.d folders to start process during system startup [closed]
Closed. This question is off-topic. It is not currently accepting answers.

。 因此,在Stack Overflow的

Closed 11 years ago.

我正在使用食堂15。

我正试图补充MYSql daemon,在系统 st期间开始。

我的理解是,我必须将其添加到rc5.d。 它是缺省目标与计划;是<条码>。

www.un.org/Depts/DGACM/index_spanish.htm

系统使用目标而不是操作水平。 否则,有两个主要目标:

multi-user.target: analogous to runlevel 3
graphical.target: analogous to runlevel 5

http://www.linux.com/news/business/systems- management/8116-an-introduction-to-services-runlevels-and-rcd-scripts”rel=“nofollow” 介绍服务、操作水平和印刷版:

当系统关闭时,在单方/rc0.d和/etc/rc6.d目录(分别为哈龙和 re)中,还有另一条连接点,从K而不是S开始,后者表示要关闭这一进程。

I notice that symlink to httpd are present in all the rc<number>.d folders as symlink: K15httpd -> ../init.d/httpd. No symlink is present that starts with S. Makes sense as I have to start it manually.

  • Why is the symlink K15httpd -> ../init.d/httpd present in all the rc<number>.d folders?

  • What should I name the symlink if I want to start httpd during system startup?

  • What is the number that is present in the symlink? i.e. K15httpd -> ../init.d/httpd what is 15 here?

  • I read (here) that the symlink to MYSql should be S98mysql is it right and what should the name to symlink that starts with K should be?
最佳回答

驻地协调员字母命名公约如下:/etc/init.d

  • Start scripts S##<base script name>
  • Kill scripts K##<base script name>

<代码>#系指在操作级控制文字期间执行文字的顺序。 执行文字的顺序是:

  • Kill scripts
  • Start Scripts

其执行顺序与下列产出的档案顺序相同:

`ls /etc/rc#.d/K*`
`ls /etc/rc#.d/S*`

因此,以这种方式表明存在<代码>K15 http://www.un.org/Docs/journal/Ar/latestc.pdf>,这意味着在你的案件中,应当停止使用(或另一个网络服务)。

出于同样原因,在较低级别上显示<代码>MySQL的杀人文字,你开始用K02MySQL

可查阅

问题回答

暂无回答




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签