Commit db54993
Stop SMGC service on SR detach to prevent orphaned systemd units (#92)
This is not done on every and each implementation of SR but only on ones that calls cleanup.start_gc_service (like FileSR)
and on the classes that inherits from them and don't call super on detach.
This is to prevent useless errors logs like Failed to stop xxx.service: Unit xxx.service not loaded.
Signed-off-by: Mathieu Labourier <mathieu.labourier@vates.tech>1 parent 74f3fc6 commit db54993
2 files changed
Lines changed: 25 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3979 | 3979 | | |
3980 | 3980 | | |
3981 | 3981 | | |
| 3982 | + | |
3982 | 3983 | | |
3983 | 3984 | | |
3984 | 3985 | | |
| |||
4059 | 4060 | | |
4060 | 4061 | | |
4061 | 4062 | | |
| 4063 | + | |
| 4064 | + | |
| 4065 | + | |
| 4066 | + | |
| 4067 | + | |
| 4068 | + | |
| 4069 | + | |
| 4070 | + | |
| 4071 | + | |
| 4072 | + | |
| 4073 | + | |
| 4074 | + | |
4062 | 4075 | | |
4063 | 4076 | | |
4064 | 4077 | | |
| |||
4069 | 4082 | | |
4070 | 4083 | | |
4071 | 4084 | | |
4072 | | - | |
4073 | 4085 | | |
4074 | | - | |
4075 | | - | |
4076 | | - | |
4077 | | - | |
4078 | | - | |
| 4086 | + | |
| 4087 | + | |
| 4088 | + | |
| 4089 | + | |
| 4090 | + | |
| 4091 | + | |
| 4092 | + | |
| 4093 | + | |
| 4094 | + | |
| 4095 | + | |
| 4096 | + | |
4079 | 4097 | | |
4080 | 4098 | | |
4081 | 4099 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | | - | |
| 412 | + | |
414 | 413 | | |
415 | 414 | | |
416 | 415 | | |
| |||
0 commit comments