22 lines
512 B
Desktop File
22 lines
512 B
Desktop File
[Unit]
|
|
Description=Adaptive local WeChat OCR recorder and responder
|
|
After=default.target jwebot-edge.service
|
|
Wants=jwebot-edge.service
|
|
StartLimitIntervalSec=300
|
|
StartLimitBurst=6
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=-%h/.config/jwebot/current/generated/runtime.env
|
|
ExecStart=/opt/jwebot/venv/bin/python %h/.local/lib/wechat-health-watch/wechat_adaptive_recorder.py
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
UMask=0077
|
|
MemoryMax=768M
|
|
CPUQuota=250%
|
|
|
|
[Install]
|
|
WantedBy=default.target
|