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
internal
service to restart them all, gracefully.
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).
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.