Path to this page:
./
sysutils/p5-Server-Starter,
Perl 5 superdaemon for hot-deploying server programs
Branch: pkgsrc-2019Q1,
Version: 0.34nb1,
Package name: p5-Server-Starter-0.34nb1,
Maintainer: pkgsrc-usersIt is often a pain to write a server program that supports graceful
restarts, with no resource leaks. The Perl 5 module Server::Starter,
solves the problem by splitting the task into two. One is start_server,
a script provided as a part of the module, which works as a superdaemon
that binds to one or more TCP ports, and repeatedly spawns the
server program that actually handles the incomming commenctions.
The spawned server programs under Server::Starter call accept(2)
and handle the requests.
Required to run:[
lang/perl5] [
devel/p5-Scope-Guard] [
devel/p5-List-MoreUtils] [
devel/p5-Proc-Wait3]
Required to build:[
net/p5-Test-TCP] [
pkgtools/cwrappers] [
devel/p5-Module-Build]
Master sites: (Expand)
SHA1: 2af672e8b7d6bc6999ed8675709c66f65bc78ccd
RMD160: 31f4ccc2386a520a29b96d7ebc1a274e22f668f9
Filesize: 23.231 KB
Version history: (Expand)
- (2019-04-11) Package added to pkgsrc.se, version p5-Server-Starter-0.34nb1 (created)