OpenSERP 介绍
改进自 https://github.com/karust/openserp , 优化了相关功能,支持驱动浏览器去采集内容,开源仓库地址: https://github.com/mnt-ltd/openserp
安装
1. 下载
访问: https://github.com/mnt-ltd/openserp/releases ,下载操作系统对应的程序。
2. 安装浏览器依赖
sudo apt install chromium-browser
3. 启动
手动启动,验证是否无误。
./openserp serve --config config.yaml
- 守护进程
supervisor 守护进程配置示例
[program:openserp]directory =/opt/apps/openserpcommand =/opt/apps/openserp/openserp serve --config config.yamlautostart = trueautorestart=trueredirect_stderr = truestdout_logfile_maxbytes=100MBstdout_logfile = /var/log/supervisor/openserp-stdout.logstderr_logfile = /var/log/supervisor/openserp-stderr.logstderr_logfile_maxbytes=100MBuser=ecs-user