Multiple ocserv and occtl socket support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014/05/11 11:54, Nikos Mavrogiannopoulos wrote:
> On Fri, 2014-05-09 at 22:34 +0800, Steve wrote:
> > Hi
> > 
> > For some reason, I run two ocservs in my system, can you add support
> > to occtl to handle multiple stat sockets?
> 
> When I converted the communication between ocserv and occtl using unix
> sockets, I was wondering whether something like that would be useful.
> What is the reason that you do use multiple servers? It is certainly
> doable have multiple sockets, but it would require occtl to read the
> config file.

Most other programs that I use with this type of functionality just
use a command-line argument on the *ctl program to set the socket path
(with a compiled-in default for the usual "single server" case).
I think this is good enough and avoids an additional copy of the
config parser.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux