diff options
author | Eric Wong <e@80x24.org> | 2022-05-05 10:52:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-05-05 10:52:35 +0000 |
commit | 93a7b219d58aad86438cbf3cbf4318a889831ac1 (patch) | |
tree | 892d17d602370be3b2c8bc6a36d46693682915bf /script/public-inbox-netd | |
parent | 71eb48442e0f5403e9a5c3f0ccf8257600efe392 (diff) | |
download | public-inbox-93a7b219d58aad86438cbf3cbf4318a889831ac1.tar.gz |
Since we'll be adding POP3 support as our 4th network protocol; asking admins to run yet another daemon on top of existing -httpd, -nntpd, -imapd is a maintenance burden and a waste of memory. The goal of public-inbox-netd is to be able to replace all existing read-only daemons with a single process to save memory and reduce administrative overhead; hopefully encouraging more users to self-host their own mirrors. It's barely-tested at the moment. Eventually, multiple PI_CONFIG and HOME directories will be supported, as are per-listener .psgi config files.
Diffstat (limited to 'script/public-inbox-netd')
-rwxr-xr-x | script/public-inbox-netd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script/public-inbox-netd b/script/public-inbox-netd new file mode 100755 index 00000000..e8b1ca69 --- /dev/null +++ b/script/public-inbox-netd @@ -0,0 +1,6 @@ +#!/usr/bin/perl -w +# Copyright (C) all contributors <meta@public-inbox.org> +# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> +use v5.12; +use PublicInbox::Daemon; +PublicInbox::Daemon::run(); |