[Systemd] Add service files for playerctl and mpd-mpris

This commit is contained in:
Lucien Cartier-Tilet 2022-08-31 01:53:29 +02:00
parent 52c23fb47c
commit 34db5e9dc3
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=MPRIS implementation for MPD
Requires=mpd.service
[Service]
Type=simple
ExecStart=/usr/bin/mpd-mpris
[Install]
WantedBy=default.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=Keep track of media player activity
[Service]
Type=dbus
ExecStart=/usr/bin/playerctld daemon
BusName=org.mpris.MediaPlayer2.playerctld
[Install]
WantedBy=default.target