csi-driver-host-path icon indicating copy to clipboard operation
csi-driver-host-path copied to clipboard

Add signal catch to stop the server gracefully

Open astraw99 opened this issue 1 year ago • 7 comments

What type of PR is this? /kind bug

What this PR does / why we need it: Add signal catch to stop the server gracefully, when the server stopped, the sock file was removed accordingly. Then the wg was not needed any more. Tested with the latest code, safe to merge.

Which issue(s) this PR fixes: Fixes #454

Special notes for your reviewer: Also fixed the default sock file to unix:///tmp/csi.sock.

Does this PR introduce a user-facing change?:

NONE

astraw99 avatar Oct 06 '23 09:10 astraw99