summaryrefslogtreecommitdiff
path: root/sysd
diff options
context:
space:
mode:
Diffstat (limited to 'sysd')
-rw-r--r--sysd/.config/systemd/user/mpd-discord-rpc.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysd/.config/systemd/user/mpd-discord-rpc.service b/sysd/.config/systemd/user/mpd-discord-rpc.service
new file mode 100644
index 0000000..6b67837
--- /dev/null
+++ b/sysd/.config/systemd/user/mpd-discord-rpc.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=MPD Discord RPC
+After=mpd.service
+Requires=mpd.service
+
+[Service]
+Type=simple
+Restart=on-failure
+RestartSec=5
+ExecStart=%h/.cargo/bin/mpd-discord-rpc
+
+[Install]
+WantedBy=default.target