diff options
| author | Emil Williams | 2025-08-21 00:12:20 +0000 |
|---|---|---|
| committer | Emil Williams | 2025-08-21 00:12:20 +0000 |
| commit | d5c3ef85f9324b81a179284fedf02e1658a7620a (patch) | |
| tree | 21d639f551200e771f88db53a2bbe2cefce2ae8b /config.default.pl | |
| parent | 33c7281c610623e84985bd1104236167a1ca06c7 (diff) | |
| download | gorillanest-d5c3ef85f9324b81a179284fedf02e1658a7620a.tar.xz gorillanest-d5c3ef85f9324b81a179284fedf02e1658a7620a.tar.zst | |
Optional Socketing & Redundant config.pl
Diffstat (limited to 'config.default.pl')
| -rw-r--r-- | config.default.pl | 15 |
1 files changed, 15 insertions, 0 deletions
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; |
