summarylogtreecommitdiffstats
path: root/youtube-mpv.service
blob: 5bfcf22d6892c04013ccc09b006c33d2b70b68a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Youtube-mpv

[Service]
Type=simple
Environment=DISPLAY=:0
ExecStart=/opt/youtube-mpv-git/ytdl_server.py
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure

[Install]
WantedBy=default.target