nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 154 forks source link

主网节点后台运行问题 #181

Closed flute closed 6 years ago

flute commented 6 years ago

主网节点如何在后台稳定运行,进程守护最佳实践?能否给出官方示例。

LeonLi000 commented 6 years ago

官方是使用supervisor来管理neb进程

[program:neb] directory=/neb/app user=app command=/neb/app/neb -c /neb/app/conf/config.conf stdout_logfile=/neb/app/logs/out.log stderr_logfile=/neb/app/logs/err.log autostart=true autorestart=true

flute commented 6 years ago

OK,tks, 使用systemd出现了一些问题,换成supervisor暂无问题。