Updating the init script to support job processing servers
修改init脚本以支持任务处理服务器
As shown in Figure 4, the task1 and task2 process variables get initiated in the init script.
如图4所示,task1和task2流程变量在init脚本中得到初始化。
For Linux hosts, you can find a suitable init script that you can add to /etc/init.d in contrib/redhat/sshd.init.
对于Linux主机,您可以在contrib/redhat/sshd.init中找到合适的可以添加到 /etc/init.d 的 init脚本。
Now let's find the appropriate init script to put this command in so that it will automatically be prepared at bootup.
现在让我们把这个命令加到正确的初始化脚本中,以便每次启动的时候都可以自动加载。
Install binaries, init script, sample config files, and set permissions on the external command directory, as shown in Listing 6.
安装二进制文件、init脚本、示例配置文件并设置外部命令目录上的权限,如清单6所示。
The init script is run during system boot and configures the instance with a current version of the application, along with starting the appropriate application configuration.
init脚本是在系统启动时运行的,它会在实例上配置一个当前版本的应用程序,同时启动对应的应用程序配置。
The script files for upstart work similar to the traditional rc init files, except that they operate autonomously based on asynchronous events.
upstart 使用的脚本文件的工作方式类似与传统的rcinit 文件,它们是基于异步事件自发操作的。
The last line of the script block uses the dojo.addOnLoad function to invoke a function (in this case the init function) when the web page finishes loading.
在web页面完成加载时,脚本块的最后一行使用dojo.addOnLoad函数来调用函数(在本例中是init 函数)。
Probably the most common approach is to start the program up at system startup time by hooking a suitable script into the init system-initialization process.
最常用的方法可能是把合适的脚本挂上 init 系统初始化进程,在系统启动时启动程序。
If an init file is not found, the kernel invokes the linuxrc file as its startup script.
如果没有找到init文件,内核就会调用linuxrc文件作为自己的启动脚本。
If an init file is not found, the kernel invokes the linuxrc file as its startup script.
如果没有找到init文件,内核就会调用linuxrc文件作为自己的启动脚本。
应用推荐