1 [Unit]
2 Description=OpenVINO Python Script
3 After=network.target
4
5 [Service]
6 Environment="DISPLAY=:0"
7 Environment="XAUTHORITY=/home/pi/.Xauthority"
8 ExecStart=/home/pi/openvino-app-script
9 WorkingDirectory=/home/pi
10 StandardOutput=inherit
11 StandardError=inherit
12 Restart=on-failure
13 User=pi
14
15 [Install]
16 WantedBy=graphical.target
17