diff options
| author | salmon <salmonik@tuta.io> | 2026-08-09 23:53:47 +0200 |
|---|---|---|
| committer | salmon <salmonik@tuta.io> | 2026-08-09 23:53:47 +0200 |
| commit | ce1b4011d409997b10ca205f459cedcb6b292bd7 (patch) | |
| tree | bbfd1572f0d6d3a30478bbfb613a09df0022940b /README.md | |
| parent | Make install.sh POSIX sh so it runs without bash (diff) | |
| download | rsplayer-ce1b4011d409997b10ca205f459cedcb6b292bd7.tar.gz rsplayer-ce1b4011d409997b10ca205f459cedcb6b292bd7.zip | |
Make daemon socket/PID paths environment-independent; fix rc service HOME
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -44,9 +44,11 @@ FreeBSD notes: | |||
| 44 | as rsplayer_user via daemon(8); `service rsplayer status`/`stop`/`restart` | 44 | as rsplayer_user via daemon(8); `service rsplayer status`/`stop`/`restart` |
| 45 | work as expected. You can also run `rsp start-daemon` manually from your | 45 | work as expected. You can also run `rsp start-daemon` manually from your |
| 46 | login shell — `start-daemon`/`stop-daemon`/`restart` behave the same. | 46 | login shell — `start-daemon`/`stop-daemon`/`restart` behave the same. |
| 47 | - XDG_RUNTIME_DIR is not set by default on FreeBSD, so the daemon socket and PID | 47 | - The daemon socket and PID file live in ~/.local/state/rsplayer/ (the XDG |
| 48 | file fall back to /tmp/rsplayer/. Set XDG_RUNTIME_DIR in your rc.d script or | 48 | state dir), not in XDG_RUNTIME_DIR: the path is identical whether the daemon |
| 49 | shell profile if you prefer a private runtime dir. | 49 | was started by the service or manually. This matters on FreeBSD, where |
| 50 | XDG_RUNTIME_DIR is often unset (previously the fallback was the | ||
| 51 | world-writable /tmp/rsplayer). | ||
| 50 | - Desktop notifications and MPRIS (playerctl etc.) require a running D-Bus session | 52 | - Desktop notifications and MPRIS (playerctl etc.) require a running D-Bus session |
| 51 | bus (`pkg install dbus`) and a notification daemon; without them the daemon runs | 53 | bus (`pkg install dbus`) and a notification daemon; without them the daemon runs |
| 52 | fine, those features are just disabled. | 54 | fine, those features are just disabled. |
