Skip to content

Instantly share code, notes, and snippets.

@itapai
Last active April 28, 2022 07:27
Show Gist options
  • Select an option

  • Save itapai/fa51d72984cafa10532228cd35d87883 to your computer and use it in GitHub Desktop.

Select an option

Save itapai/fa51d72984cafa10532228cd35d87883 to your computer and use it in GitHub Desktop.
Video loop service
[Unit]
Description=Video loop
After=local-fs.target
[Service]
ExecStartPre=/bin/mkdir -p /media/videos
ExecStart=/opt/play.sh /media/videos
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment