Skip to content

Instantly share code, notes, and snippets.

[Unit]
Description=Play video at startup
After=multi-user.target
[Service]
Environment="DISPLAY=:0"
ExecStart=/bin/bash -c '/home/orangepi/playvideo.sh'
User=orangepi
Restart=on-abort
RemainAfterExit=yes