From d5c3ef85f9324b81a179284fedf02e1658a7620a Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Thu, 21 Aug 2025 00:12:20 +0000 Subject: Optional Socketing & Redundant config.pl --- config.default.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 config.default.pl (limited to 'config.default.pl') diff --git a/config.default.pl b/config.default.pl new file mode 100644 index 0000000..b95d005 --- /dev/null +++ b/config.default.pl @@ -0,0 +1,15 @@ +# always assume anything to do with files is from project root + +use constant LOG_FILE => '/tmp/gorillanest.log'; +use constant SOCKET_FILE => '/tmp/gorillanest.socket'; +use constant DB_FILE => 'gorillanest.sqlite3'; # sqlite3 + +use constant TEMPLATE_ROOT => 'template'; # template directory +use constant GIT_ROOT => 'git'; # git directory (~user/repo) + +# If you're using lighttpd, set this to 1 +# This disables SOCKET_FILE and lets the socket handling be externally managed +use constant BARE_REQUEST => 0; + +use constant SOCKET_MAX_CONNECTIONS => 100; +1; -- cgit v1.2.3