Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下是否可以支持其他第三方进程守护工具守护进程? #124

Closed
JimChenWYU opened this issue Apr 28, 2021 · 1 comment

Comments

@JimChenWYU
Copy link

RT.

@JimChenWYU
Copy link
Author

JimChenWYU commented May 11, 2021

查看 xs-ctl.sh 两个服务(索引和搜索)是通过两个执行文件启动的 xs-indexd 和 xs-searchd,而这两个执行命令

通过查看其源码发现,其实还有个参数 -F 禁止daemon模式

所以

xs-indexd -l /var/log/indexd.log -b 8383 start -F
xs-searchd -l /var/log/searchd.log -b 8384 start -F

这样两个服务就可以通过前台执行不会进入 daemon,这样就可以交给第三方进程守护进行守护

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant