1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/web_stream.cfg
2015-01-23 17:24:36 +01:00

30 lines
451 B
INI

userver {
RUN_AS_USER apache
REQ_TIMEOUT 5
MAX_KEEP_ALIVE 5
LOG_FILE web_stream.log
LOG_FILE_SZ 1M
PLUGIN "stream http"
PLUGIN_DIR ../../src/ulib/net/server/plugin/.libs
# ORM_DRIVER "sqlite"
ORM_DRIVER_DIR ../../src/ulib/orm/driver/.libs
PREFORK_CHILD 2
}
stream {
COMMAND my_stream.sh
URI_PATH /my/stream
METADATA /tmp/metadata
CONTENT_TYPE text/plain
}
#include "http.cfg"