summarylogtreecommitdiffstats
path: root/youtube-mpv@.service
blob: 7f745e522e8d4665a2f92d5dfd4e6fe80cd64f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Youtube-mpv
After=local-fs.target network.target

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

[Install]
WantedBy=multi-user.target