| 1 |
# Service file to run WirePlumber in split mode, i.e. run multiple |
| 2 |
# WirePlumber instances with different module sets. |
| 3 |
# The template argument is used to load a specific profile, e.g. |
| 4 |
# [email protected] loads the "main" profile, |
| 5 |
# [email protected] loads the "policy" profile, etc. |
| 6 |
[Unit] |
| 7 |
Description=Multimedia Service Session Manager (%i) |
| 8 |
After=pipewire.service |
| 9 |
BindsTo=pipewire.service |
| 10 |
Conflicts=pipewire-media-session.service |
| 11 |
|
| 12 |
[Service] |
| 13 |
LockPersonality=yes |
| 14 |
MemoryDenyWriteExecute=yes |
| 15 |
NoNewPrivileges=yes |
| 16 |
SystemCallArchitectures=native |
| 17 |
SystemCallFilter=@system-service mincore |
| 18 |
Type=simple |
| 19 |
AmbientCapabilities=CAP_SYS_NICE |
| 20 |
ExecStart=@WP_BINARY@ -p %i |
| 21 |
Restart=on-failure |
| 22 |
User=pipewire |
| 23 |
Environment=PIPEWIRE_RUNTIME_DIR=%t/pipewire |
| 24 |
Environment=GIO_USE_VFS=local |
| 25 |
|
| 26 |
[Install] |
| 27 |
WantedBy=pipewire.service |