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

启动,停止,守护,脚本(简陋版) #51

Open
ghost opened this issue Feb 24, 2019 · 7 comments
Open

启动,停止,守护,脚本(简陋版) #51

ghost opened this issue Feb 24, 2019 · 7 comments

Comments

@ghost
Copy link

ghost commented Feb 24, 2019

vnet脚本.zip

待我研究一下supervisor重新写一个,这个可以凑合用

@Scyllaly
Copy link

老夫聊发少年轻狂

@ghost
Copy link
Author

ghost commented Feb 25, 2019

可太无聊了。。

@tomnicos
Copy link

多谢了

@NeedforGit
Copy link

vnet脚本.zip

待我研究一下supervisor重新写一个,这个可以凑合用

多谢了, 用bash 启动不了。期待 supervisor

@ghost
Copy link
Author

ghost commented Mar 6, 2019

多谢了, 用bash 启动不了。期待 supervisor

自己研究咯,我懒惰

@xswvfr
Copy link

xswvfr commented Apr 15, 2019


/etc/supervisor/conf.d/
下新加 vnet.conf

[program:vnet]
command=/etc/vnet/vnet -cfg /etc/vnet/config1.json
autorestart=true
user=root
stdout_logfile=/tmp/vnet-out
stderr_logfile=/tmp/vnet-err
logfile_maxbytes=200MB

@Scyllaly
Copy link

Scyllaly commented Aug 8, 2019


/etc/supervisor/conf.d/
下新加 vnet.conf

[program:vnet]
command=/etc/vnet/vnet -cfg /etc/vnet/config1.json
autorestart=true
user=root
stdout_logfile=/tmp/vnet-out
stderr_logfile=/tmp/vnet-err
logfile_maxbytes=200MB

用centos得service

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

4 participants