Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !1776

simplehttpserver: Remove socketpath if it exists

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos:fix/simplehttpserver-socketpath into master Apr 01, 2025
  • Overview 5
  • Commits 2
  • Pipelines 0
  • Changes 2

When socketpath is used, if the socket path already exists due to a previous run not having removed it, on subsequent starts the server process will fail with "address already in use" because the socket file already exists. So remove it to avoid that.

Edited Jun 30, 2025 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/simplehttpserver-socketpath
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7