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 {
|
func getDefaultHTTPSocketDirPath() string {
|
||||||
path, err := firstExistingDir(
|
path, err := firstExistingDir(
|
||||||
|
"/tmp",
|
||||||
|
|
||||||
|
// TODO it's possible the daemon process can't actually write to these
|
||||||
"/run",
|
"/run",
|
||||||
"/var/run",
|
"/var/run",
|
||||||
"/tmp",
|
|
||||||
"/dev/shm",
|
"/dev/shm",
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user