# Standalone NNTP server for public-inbox.
use strict;
use warnings;
-require PublicInbox::Daemon;
+use PublicInbox::Daemon;
use PublicInbox::NNTP; # need to call import
-require PublicInbox::NNTPD;
+use PublicInbox::NNTPD;
my $nntpd = PublicInbox::NNTPD->new;
PublicInbox::Daemon::run('0.0.0.0:119',
sub { $nntpd->refresh_groups }, # refresh