Skip to content

Commit

Permalink
Fully pass the app server socket file path from visor config
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Nov 22, 2019
1 parent dbeb8c3 commit 1c54333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/visor/visor.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func (node *Node) SpawnApp(config *AppConfig, startCh chan<- struct{}) (err erro
appCfg := appcommon.Config{
Name: config.App,
Version: config.Version,
SockFilePath: filepath.Join("/tmp", node.conf.AppServerSockFile),
SockFilePath: node.conf.AppServerSockFile,
VisorPK: node.conf.Node.StaticPubKey.Hex(),
BinaryDir: node.appsPath,
WorkDir: filepath.Join(node.localPath, config.App, fmt.Sprintf("v%s", config.Version)),
Expand Down

0 comments on commit 1c54333

Please sign in to comment.