summaryrefslogtreecommitdiff
path: root/.config/systemd/user/playerctld.service
blob: 3d93a28b9fc8a48d42bb02219b4a6f87253f9343 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Playerctl control media players via MPRIS
Documentation=https://github.com/altdesktop/playerctl

[Service]
Environment=DISPLAY=:0

ExecStart=/usr/bin/playerctld

Restart=always
# Restart service after 10 seconds if service crashes
RestartSec=10
SyslogIdentifier=playerctld

[Install]
WantedBy=basic.target