radicale, bepasty: Fix issue with failed diagnostic test

Fixes: #2575 (closed).

  • During backup, a service related to backup is stopped and then started back again after the backup. In case of .socket unit, the .service unit is not being stopped and it continues to listen on the socket path. When the .socket unit is started back again, it tries to listen on the socket path and fails.

  • To fix the issue, when running stop, restart, etc. operations on a .socket file, try to perform that operations that we actually intend.

Tests:

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org

Merge request reports

Loading