Erik Arvstedt a3490dfc0f
onion-services: don't propagate restart of onion-addresses to depending services
Currently, public services that publish their onion addresses have a
`requires` dependeny on service `onion-addresses`, so they are restarted
when `onion-addresses` restarts.

This has the downside that most of nix-bitcoin's services are restarted
when a new onion service is added and the system config has the following common settings:
- nix-bitcoin.onionServices.bitcoind.public = true
- nix-bitcoin.operator.enable = true

Sequence of events:
1. onion service is added
2. `onion-addresses` restarts, because the new onion service is made available to `operator`
3. bitcoind restarts
4. all depending services restart

Fix this by using a `wants` dependency.
2022-08-04 11:48:26 +02:00
..
2022-05-22 15:57:15 +02:00
2021-11-28 21:18:39 +01:00
2022-07-09 11:07:09 +02:00
2021-12-07 15:35:33 +01:00
2022-06-03 08:56:35 +00:00
2022-07-09 11:07:09 +02:00
2022-07-09 11:07:09 +02:00
2021-11-29 13:22:43 +01:00