<Daemon>
#    User nobody
    Group nobody

    PidFile "./clio.pid"
</Daemon>

<Command>
    # command to run
    Exec  cat -
    #Exec top -b
    #Exec sh -s
    #Exec "./examples/show_time.pl"
    #Exec stockfish
    #Exec "tail -f /var/log/{auth.log,syslog,messages,mail.info,mail.log}"

    StartCommands          0
    MinSpareCommands       0
    MaxSpareCommands       0
    MaxCommands            20
    MaxClientsPerCommand   1

    InputFilter  LineEnd
</Command>


<Server>
    Listen 0:12345

    Class TCP
#    Class HTTP

#    Builder ./examples/plack-app.psgi
    #Builder ./examples/plack.psgi
    <Client>
#        Class WebSocket
#        Class Stream
        Class Handle

#        OutputFilter  jQueryStream
        OutputFilter  LineEnd
    </Client>
</Server>


<Log>
    Class Log4perl
    <Config>
        log4perl.logger=TRACE, Screen
#        log4perl.logger.Clio.Client=TRACE, Log
#        log4perl.logger.Clio.ClientOutputFilter=ERROR, Log
#        log4perl.logger.Clio.Server=ERROR, Log

        log4perl.appender.Screen=Log::Log4perl::Appender::Screen
        log4perl.appender.Screen.stderr=0
        log4perl.appender.Screen.utf8=1
        log4perl.appender.Screen.layout=Log::Log4perl::Layout::PatternLayout
        log4perl.appender.Screen.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n

        log4perl.appender.Log=Log::Dispatch::File
        log4perl.appender.Log.filename=test.log
        log4perl.appender.Log.mode=append
        log4perl.appender.Log.layout=Log::Log4perl::Layout::PatternLayout
        log4perl.appender.Log.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
    </Config>

</Log>

# vim:ft=apache: