hardbyte / hardbyte/python-can
can.logger script doesn't work when started from systemd
未关闭
- 主要语言
- Python
- 星标
- 1.6k
- 派生
- 697
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
I use a systemd service to log the socketcan can0 with can.logger script.
I use a Unit file that call the script:
...
[Service]
Type=simple
ExecStart=python -m can.logger -f /home/admin/can-logs/test.blf -v -c can0 -i socketcan
...
This script works perfectly when called from the linux shell, but when I start it from the service, the log file is created in /home/admin/can-logs but stay empty.
What could be wrong ? is python-can not able to handle socketcan from systemd service ?
Thanks for your help,
贡献指南
评估
这个 Issue 还没有评估数据。