Default HTTP socket to the tmp directory
This commit is contained in:
parent
8dd6768786
commit
6fff1dfaeb
@ -43,9 +43,11 @@ func (e EnvVars) init() error {
|
||||
|
||||
func getDefaultHTTPSocketDirPath() string {
|
||||
path, err := firstExistingDir(
|
||||
"/tmp",
|
||||
|
||||
// TODO it's possible the daemon process can't actually write to these
|
||||
"/run",
|
||||
"/var/run",
|
||||
"/tmp",
|
||||
"/dev/shm",
|
||||
)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user