Commit e32c9c5
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 ebd4cb6 commit e32c9c5
2 files changed
Lines changed: 24 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3967 | 3967 | | |
3968 | 3968 | | |
3969 | 3969 | | |
| 3970 | + | |
3970 | 3971 | | |
3971 | 3972 | | |
3972 | 3973 | | |
| |||
4040 | 4041 | | |
4041 | 4042 | | |
4042 | 4043 | | |
| 4044 | + | |
| 4045 | + | |
| 4046 | + | |
| 4047 | + | |
| 4048 | + | |
| 4049 | + | |
| 4050 | + | |
| 4051 | + | |
| 4052 | + | |
| 4053 | + | |
| 4054 | + | |
| 4055 | + | |
4043 | 4056 | | |
4044 | 4057 | | |
4045 | 4058 | | |
| |||
4050 | 4063 | | |
4051 | 4064 | | |
4052 | 4065 | | |
4053 | | - | |
4054 | 4066 | | |
4055 | | - | |
4056 | | - | |
4057 | | - | |
4058 | | - | |
4059 | | - | |
| 4067 | + | |
| 4068 | + | |
4060 | 4069 | | |
| 4070 | + | |
| 4071 | + | |
| 4072 | + | |
| 4073 | + | |
| 4074 | + | |
| 4075 | + | |
| 4076 | + | |
| 4077 | + | |
4061 | 4078 | | |
4062 | 4079 | | |
4063 | 4080 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
411 | | - | |
| 410 | + | |
412 | 411 | | |
413 | 412 | | |
414 | 413 | | |
| |||
0 commit comments