📌  相关文章
📜  opencv 无法打开显示 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:28.106000             🧑  作者: Mango

代码示例1
[Unit]
Description=lalala

[Service]
Type=oneshot
ExecStart=/bin/bash "/home/pi/Desktop/test.sh" start
ExecStop=/bin/bash "/home/pi/Desktop/test.sh" stop
RemainAfterExit=yes
Environment=XAUTHORITY=/home/pi/.Xauthority
Environment=DISPLAY=:0.0

[Install]
WantedBy=multi-user.target