From efba3752219fad7998d9600bd6896c6716f52380 Mon Sep 17 00:00:00 2001 From: Thomas George Date: Thu, 15 May 2025 19:50:15 +0900 Subject: [PATCH] Add systemd.tmpfiles conf This patch adds conf file for systemd based systems, for creating the runtime directory using systemd.tmpfiles Signed-off-by: Thomas George --- src/daemon/meson.build | 4 ++++ src/daemon/systemd/pulse.conf | 1 + 2 files changed, 5 insertions(+) create mode 100644 src/daemon/systemd/pulse.conf diff --git a/src/daemon/meson.build b/src/daemon/meson.build index 31e36ec01..51c6161b4 100644 --- a/src/daemon/meson.build +++ b/src/daemon/meson.build @@ -170,4 +170,8 @@ if systemd_dep.found() install_data('systemd/user/pulseaudio.socket', install_dir: systemduserunitdir, ) + + install_data('systemd/pulse.conf', + install_dir: join_paths(sysconfdir,'tmpfiles.d', 'pulse.conf') + ) endif diff --git a/src/daemon/systemd/pulse.conf b/src/daemon/systemd/pulse.conf new file mode 100644 index 000000000..d38d88597 --- /dev/null +++ b/src/daemon/systemd/pulse.conf @@ -0,0 +1 @@ +d /var/run/pulse 0755 pulse pulse -