Files
JWeBot/deploy/systemd/system/wechat-local-ocr-recorder.service
T

22 lines
440 B
Desktop File

[Unit]
Description=Local OCR recorder for one fixed WeChat group
After=tigervncserver@:1.service
Requires=tigervncserver@:1.service
[Service]
Type=simple
User=jwebot
Group=jwebot
EnvironmentFile=-/etc/default/wechat-local-ocr
ExecStart=/opt/jwebot/venv/bin/python /usr/local/sbin/wechat-local-ocr record
Restart=always
RestartSec=3
Nice=10
UMask=0077
MemoryMax=768M
CPUQuota=150%
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target