Skip to main content
Topic: Pipewire on dinit. (Read 258 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Pipewire on dinit.

Code: [Select]
dinitctl restart pipewire
dinitctl: cannot stop service 'pipewire' due to the following dependents:
  pipewire-pulse wireplumber
https://gitea.artixlinux.org/packages/pipewire-dinit/src/branch/master/pipewire.user

Should not pipewire depend on  pipewire-pulse and wireplumber? Or do i have it backwards in my mind?
Should not a restart of pipewire restart them too?


I guess I am asking how to make the three services an
Code: [Select]
internal
service to restart them all, gracefully.

Re: Pipewire on dinit.

Reply #1
Quote
Should not pipewire depend on  pipewire-pulse and wireplumber? Or do i have it backwards in my mind?
Should not a restart of pipewire restart them too?

It can't be both of those things. If pipewire depended on pipewire-pulse and wireplumber, then you would be able to restart pipewire without restarting pipewire-pulse/wireplumber. (But you can't, because you do in fact have it backwards).

Quote
I guess I am asking how to make the three services an internal service to restart them all, gracefully.

I don't think you understand what an internal service is. An internal service is just a marker in the service hierarchy, it is not directly associated with any process.

Changing the type of the services to internal wouldn't be correct (it wouldn't run the actual service processes) and would not change the fact that you can't restart the pipewire service without restarting the others, due to the dependencies.

Use --force if you want to restart the dependents as well.

 

Re: Pipewire on dinit.

Reply #2
Thank you