From 5a755a04e89faacc3e79a26edd4e222eaa074409 Mon Sep 17 00:00:00 2001 From: dma Date: Sun, 10 Sep 2017 15:58:01 +0000 Subject: [PATCH] Change path of oz socket --- fw-ozcli/fw-ozcli.go | 2 +- sgfw/ipc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fw-ozcli/fw-ozcli.go b/fw-ozcli/fw-ozcli.go index c7ae10c..ced280d 100644 --- a/fw-ozcli/fw-ozcli.go +++ b/fw-ozcli/fw-ozcli.go @@ -9,7 +9,7 @@ import ( "net" ) -const ReceiverSocketPath = "/tmp/fwoz.sock" +const ReceiverSocketPath = "/var/run/fw-daemon/fwoz.sock" func reader(r io.Reader) { buf := make([]byte, 1024) diff --git a/sgfw/ipc.go b/sgfw/ipc.go index 296c28f..8c80036 100644 --- a/sgfw/ipc.go +++ b/sgfw/ipc.go @@ -12,7 +12,7 @@ import ( "github.com/subgraph/oz/ipc" ) -const ReceiverSocketPath = "/tmp/fwoz.sock" +const ReceiverSocketPath = "/var/run/fw-daemon/fwoz.sock" type OzInitProc struct {