-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.
Description
When using domain socket in net or http.createServer, I have to unlink it before service started and sometimes chmod to '777' after service started. Is it necessary to add option keys such as autoUnlink and chmod that do those jobs automatically?
require('net').createServer().listen({
"path": "/var/run/app.sock",
"autoUnlink": true, // boolean, default: false
"chmod": "777" // string | number ( 0777 or, 0o777)
})
Metadata
Metadata
Assignees
Labels
netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.