8 Jan 2024 |
Dandellion | so seems direct can work? | 22:51:45 |
Dandellion | as long as we don't put any limits on the amount of restarts or something to that effect? | 22:52:25 |
hexa | sounds like that was the solution | 22:52:28 |
hexa | anyway, that means matrix-synapse.service can never reach failed state, which is not ideal for monitoring | 22:52:54 |
Dandellion | I've not seen/used it before so don't really know what it does | 22:53:11 |
Dandellion | * I've never seen/used it before so don't really know what it does | 22:53:17 |
⛧-440729 [sophie] (it/its) | In reply to @hexa:lossy.network anyway, that means matrix-synapse.service can never reach failed state, which is not ideal for monitoring How so? If restart limits are hit the service should still transition to inactive/failed even with direct set | 22:54:49 |
hexa | oh yeah, that is correct | 22:55:04 |
⛧-440729 [sophie] (it/its) | Or we use the Upholds= fix mentioned in the issue Dandellion linked | 22:56:19 |
hexa | yeah, that sounds like exactly what we want | 22:57:11 |
⛧-440729 [sophie] (it/its) | We could add Upholds=matrix-synapse-worker-...service to matrix-synapse.service so as soon as matrix-synapse.service is running it should start the workesr | 22:57:18 |
⛧-440729 [sophie] (it/its) | * We could add Upholds=matrix-synapse-worker-...service to matrix-synapse.service so as soon as matrix-synapse.service is running it should start the workers | 22:57:27 |
⛧-440729 [sophie] (it/its) | Not sure how stopping everything with the target would work in that case | 22:57:44 |
hexa | BindsTo= ? | 22:57:56 |
⛧-440729 [sophie] (it/its) | Hmm I feel like RestartMode=direct is the somewhat cleaner solution but idk | 22:59:52 |
hexa | as a fix to this particular issue, but not to define the proper relationship between these services imo | 23:00:21 |
⛧-440729 [sophie] (it/its) | Fair enough | 23:00:45 |
Dandellion | Upholds holds water for the workers which currently exist I think | 23:02:47 |
Dandellion |
Configures dependencies similar to Wants=, but as long as this unit is up, all units listed in Upholds= are started whenever found to be inactive or failed
| 23:03:20 |
Dandellion | which is what you basically always want | 23:03:58 |
Dandellion | Anyone on making a pr? | 23:08:32 |
ma27 | I may be able to take care of it tomorrow, too tired now | 23:10:10 |
Dandellion | I'll do it once I finish up this then nw | 23:10:58 |
Dandellion | * I'll do it once I finish up what I'm currently doing then, nw | 23:11:25 |
10 Jan 2024 |
| csyn joined the room. | 04:53:49 |
| philipp changed their display name from philipp to philipp (prolog in linux kernel, when). | 13:47:05 |
| philipp changed their display name from philipp (prolog in linux kernel, when) to philipp (prolog in linux kernel when). | 13:47:16 |
| philipp changed their display name from philipp (prolog in linux kernel when) to test. | 13:47:52 |
| philipp changed their display name from test to philipp. | 13:49:29 |
15 Jan 2024 |
| fadenb changed their profile picture. | 11:22:15 |