[英]How do I configure Amazon AWS Elastic Beanstalk services?
"Service" is a general term for a long running background process. “服务”是长期运行的后台进程的总称。 On Linux systems this is a daemon (usually managed by the init process), and on Windows systems this is called a Windows service.
在Linux系统上,这是一个守护进程(通常由init进程管理),在Windows系统上,这称为Windows服务。
Services usually conform to a well-known interface for starting, pausing, and stopping them. 服务通常遵循众所周知的接口来启动,暂停和停止它们。 For example init managed daemons have a script that looks something like this:
例如,init托管守护程序的脚本看起来像这样:
http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/ http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/
Creating Windows services is a little more complex: http://msdn.microsoft.com/en-us/library/aa983650(v=vs.71).aspx 创建Windows服务要稍微复杂一些: http : //msdn.microsoft.com/zh-cn/library/aa983650(v=vs.71).aspx
As far as naming goes, the name of an init service is the name of the init script in /etc/init.d
. 就命名而言,初始化服务的名称是
/etc/init.d
中的初始化脚本的名称。 A windows service has an explicit name that you configure when you build your service. Windows服务具有在构建服务时配置的显式名称。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.