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

rc.local的两个问题 #41

Open
void285 opened this issue Dec 6, 2019 · 1 comment
Open

rc.local的两个问题 #41

void285 opened this issue Dec 6, 2019 · 1 comment

Comments

@void285
Copy link

void285 commented Dec 6, 2019

你好,我用的Ubuntu,反馈以下两个问题。

1、有些版本(如oracle的ubuntu 18镜像)没有rc.local文件,也没有调用rc.local的/etc/init.d/rc.local文件,安装时有如下错误:

2019-12-06 07:46:49 (7.37 MB/s) - ‘stathub.x86_64.tar.gz’ saved [2744821/2744821]

grep: /etc/rc.local: No such file or directory
----------------------------------------------------
| Client install successful, Please start it using |
| ./service {start|stop|restart}                   |
| Now it will automatic start                      |
|                                                  |
| Feedback: https://github.com/likexian/stathub-go |
| Thank you for your using, By Li Kexian           |
| StatHub, Apache License, Version 2.0             |
----------------------------------------------------
starting
ok

2、16.04和18.03两个版本的rc.local默认最后一行是exit 0,stathub的启动命令默认被放在了此行后面,造成了重启后服务不会自动启动。

@likexian
Copy link
Owner

likexian commented Dec 6, 2019

感谢反馈,我尽快修复。

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

2 participants