jakaskerl
`[Unit]
Description=Oak-1 camera capture
After=network.target
[Service]
User=drone
WorkingDirectory=/home/drone/Desktop/depthai-python
ExecStart=/home/drone/Desktop/depthai-python/vecros/sample_script.sh
Restart=on-failure
Environment="PYTHONUNBUFFERED=1"
StandardOutput=syslog
StandardError=syslog
[Install]
WantedBy=multi-user.target
`
this is the service file.