[PR #50] [MERGED] Add systemd service #1672

Closed
opened 2026-05-23 03:58:26 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/50
Author: @Serial-ATA
Created: 6/14/2023
Status: Merged
Merged: 6/14/2023
Merged by: @JakeStanger

Base: masterHead: master


📝 Commits (1)

  • 55c397f feat: add systemd service

📊 Changes

1 file changed (+14 additions, -0 deletions)

View changed files

mpd-discord-rpc.service (+14 -0)

📄 Description

Just to make it easier to launch at startup. :)

Here's the change to the PKGBUILD:

package() {
   install -Dm 755 "$srcdir/mpd-discord-rpc/target/release/mpd-discord-rpc" "$pkgdir/usr/bin/mpd-discord-rpc"
+  install -Dm 644 "$srcdir/mpd-discord-rpc/mpd-discord-rpc.service" "$pkgdir/usr/lib/systemd/user/mpc-discord-rpc.service"
}

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/mpd-discord-rpc/pull/50 **Author:** [@Serial-ATA](https://github.com/Serial-ATA) **Created:** 6/14/2023 **Status:** ✅ Merged **Merged:** 6/14/2023 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`55c397f`](https://github.com/JakeStanger/mpd-discord-rpc/commit/55c397f2638341b2732e170ffd70beda0968297c) feat: add systemd service ### 📊 Changes **1 file changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `mpd-discord-rpc.service` (+14 -0) </details> ### 📄 Description Just to make it easier to launch at startup. :) Here's the change to the PKGBUILD: ```diff package() { install -Dm 755 "$srcdir/mpd-discord-rpc/target/release/mpd-discord-rpc" "$pkgdir/usr/bin/mpd-discord-rpc" + install -Dm 644 "$srcdir/mpd-discord-rpc/mpd-discord-rpc.service" "$pkgdir/usr/lib/systemd/user/mpc-discord-rpc.service" } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 03:58:26 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#1672
No description provided.