Commit e450fce
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 a73339e commit e450fce
2 files changed
Lines changed: 25 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3968 | 3968 | | |
3969 | 3969 | | |
3970 | 3970 | | |
| 3971 | + | |
3971 | 3972 | | |
3972 | 3973 | | |
3973 | 3974 | | |
| |||
4048 | 4049 | | |
4049 | 4050 | | |
4050 | 4051 | | |
| 4052 | + | |
| 4053 | + | |
| 4054 | + | |
| 4055 | + | |
| 4056 | + | |
| 4057 | + | |
| 4058 | + | |
| 4059 | + | |
| 4060 | + | |
| 4061 | + | |
| 4062 | + | |
| 4063 | + | |
4051 | 4064 | | |
4052 | 4065 | | |
4053 | 4066 | | |
| |||
4058 | 4071 | | |
4059 | 4072 | | |
4060 | 4073 | | |
4061 | | - | |
4062 | 4074 | | |
4063 | | - | |
4064 | | - | |
4065 | | - | |
4066 | | - | |
4067 | | - | |
| 4075 | + | |
| 4076 | + | |
| 4077 | + | |
| 4078 | + | |
| 4079 | + | |
| 4080 | + | |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
| 4085 | + | |
4068 | 4086 | | |
4069 | 4087 | | |
4070 | 4088 | | |
| |||
| 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