# Service file to run WirePlumber in split mode, i.e. run multiple
# WirePlumber instances with different module sets.
# The template argument is used to load a specific profile, e.g.
# wireplumber@main.service loads the "main" profile,
# wireplumber@policy.service loads the "policy" profile, etc.
[Unit]
Description=Multimedia Service Session Manager (%i)
After=pipewire.service
BindsTo=pipewire.service
Conflicts=pipewire-media-session.service

[Service]
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
SystemCallArchitectures=native
SystemCallFilter=@system-service
Type=simple
AmbientCapabilities=CAP_SYS_NICE
ExecStart=@WP_BINARY@ -p %i
Restart=on-failure
User=pipewire
Environment=PIPEWIRE_RUNTIME_DIR=%t/pipewire
Environment=GIO_USE_VFS=local

[Install]
WantedBy=pipewire.service
