about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-12-17 03:53:13 +0000
committerEric Wong <e@80x24.org>2020-12-19 09:32:08 +0000
commit867b47b6f667fe500313f85207d19e16703aace0 (patch)
tree431deb903991456a5a514f533feaafebd4414d3a /script
parentba135f3e25bf5d1b3aa3d34e31fefb55ee4c8d29 (diff)
downloadpublic-inbox-867b47b6f667fe500313f85207d19e16703aace0.tar.gz
"LEI" is an acronym, and ALL CAPS is consistent with existing
PublicInbox::{IMAP,HTTP,NNTP,WWW} naming for top-level modules,
3 of 4 old ones which deal directly with sockets and requests.
Diffstat (limited to 'script')
-rwxr-xr-xscript/lei8
1 files changed, 4 insertions, 4 deletions
diff --git a/script/lei b/script/lei
index fce088e9..e59e4316 100755
--- a/script/lei
+++ b/script/lei
@@ -23,8 +23,8 @@ if (eval { require IO::FDPass; 1 }) { # use daemon to reduce load time
         unless ($sock) { # start the daemon if not started
                 my $err = $! + 0;
                 my $env = { PERL5LIB => join(':', @INC) };
-                my $cmd = [ $^X, qw[-MPublicInbox::LeiDaemon
-                        -E PublicInbox::LeiDaemon::lazy_start(@ARGV)],
+                my $cmd = [ $^X, qw[-MPublicInbox::LEI
+                        -E PublicInbox::LEI::lazy_start(@ARGV)],
                         $path, $err ];
                 require PublicInbox::Spawn;
                 waitpid(PublicInbox::Spawn::spawn($cmd, $env), 0);
@@ -59,6 +59,6 @@ if (eval { require IO::FDPass; 1 }) { # use daemon to reduce load time
                 die $line;
         }
 } else { # for systems lacking IO::FDPass
-        require PublicInbox::LeiDaemon;
-        PublicInbox::LeiDaemon::oneshot(__PACKAGE__);
+        require PublicInbox::LEI;
+        PublicInbox::LEI::oneshot(__PACKAGE__);
 }