EFB V2 正式版简明安装教程:用 Telegram 收发微信 [基于 Docker]

更新下普通安装,毕竟 docker 有时候会有问题…愁人。

apt install python3-pil python3-setuptools python3-numpy python3-yaml python3-requests libmagic-dev libwebp-dev ffmpeg
pip3 list |awk '{print $1}' |xargs -n 1 pip3 install --upgrade
pip3 install ehforwarderbot efb-telegram-master efb-wechat-slave

mkdir -p /root/.ehforwarderbot/modules/
wget https://gist.githubusercontent.com/blueset/0084ab142e2213bca50d81d08753e564/raw/8699f4b7007b396ff06493eb3ded34402b19d5d0/filter.py -P /root/.ehforwarderbot/modules/

守护进程:

vi /etc/systemd/system/efbv2.service

[Unit]
Description=efbiv2 Service
After=network.target
Wants=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/ehforwarderbot
Restart=on-failure

[Install]
WantedBy=multi-user.target
systemctl enable efbv2.service // 开机启动  
systemctl start efbv2.service // 启动
journalctl -f -u efbv2.service // 查看二维码及运行日志,可根据日志排查错误 ctrl+c 退出