anchao commented on PR #17216: URL: https://github.com/apache/nuttx/pull/17216#issuecomment-3454261394
> @anchao The management of daemons/services does not refer to complex functions like Zygote/SystemServer, but rather the status monitoring of daemons such as sh and telnetd. For example, monitoring their exit and then restarting them with a specified interval, configuring the signal sent when stopping the daemons, and determining whether the entire system needs to restart if the daemons encounter exceptions. 1. System monitoring capabilities can also be implemented in nsh, rather than forcing developers to use init if they want enable this feature. 2. Android's init syntax is only a subset of the shell, with additional syntax keywords to accommodate Android startup requirements. Historically, init syntax has consistently added keywords to improve compatibility with shell, so why not just use the shell? Furthermore, multi-line descriptions are a strange design. Similar to SELinux rule files, we can use semicolons or colon to separate rules, as many systems do. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
