From 2491f56355dc33efde170bf357870a9f38c94230 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Wed, 24 Feb 2021 21:56:33 +0200 Subject: [PATCH] config: ignore module-portal load failures When running pipewire as a system-wide daemon, module-portal obviously doesn't load. Make it optional so that the default config doesn't fail in system-wide mode --- src/daemon/pipewire.conf.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in index 37b112fe1..eeb5115d5 100644 --- a/src/daemon/pipewire.conf.in +++ b/src/daemon/pipewire.conf.in @@ -98,7 +98,9 @@ context.modules = { # The portal module monitors the PID of the portal process # and tags connections with the same PID as portal # connections. - libpipewire-module-portal = null + libpipewire-module-portal = { + flags = [ ifexists nofail ] + } # The access module can perform access checks and block # new clients.