Skip to content

Instantly share code, notes, and snippets.

@kotfic
Created March 1, 2017 17:34
Show Gist options
  • Save kotfic/a563021d3288ca04db3c1654d22f6d96 to your computer and use it in GitHub Desktop.
Save kotfic/a563021d3288ca04db3c1654d22f6d96 to your computer and use it in GitHub Desktop.
[Unit]
Description=Gentle Rain via mpv and youtube-dl
[Service]
Type=simple
ExecStart=/usr/bin/mpv --no-video "https://www.youtube.com/watch?v=lasWefVUCsI&t=100s"
ExecStop=/usr/bin/pkill -f "lasWefVUCsI"
Restart=always
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment