debian/0000755000000000000000000000000012174540134007167 5ustar debian/control0000644000000000000000000000310112174540134010565 0ustar Source: libserver-starter-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Alessandro Ghedini Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, liblist-moreutils-perl, libproc-wait3-perl, libscope-guard-perl, libtest-sharedfork-perl, libtest-tcp-perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libserver-starter-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libserver-starter-perl.git Homepage: https://metacpan.org/release/Server-Starter/ Package: libserver-starter-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, liblist-moreutils-perl, libproc-wait3-perl, libscope-guard-perl Description: superdaemon for hot-deploying Perl server programs It is often a pain to write a server program that supports graceful restarts, with no resource leaks. 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 zero or more TCP ports or unix sockets, and repeatedly spawns the server program that actually handles the necessary tasks (for example, responding to incoming commenctions). The spawned server programs under Server::Starter call accept(2) and handle the requests. . To gracefully restart the server program, send SIGHUP to the superdaemon. The superdaemon spawns a new server program, and if (and only if) it starts up successfully, sends SIGTERM to the old server program. debian/compat0000644000000000000000000000000212174540134010365 0ustar 8 debian/watch0000644000000000000000000000017212174540134010220 0ustar version=3 https://metacpan.org/release/Server-Starter/ .*/Server-Starter-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/source/0000755000000000000000000000000012174540134010467 5ustar debian/source/format0000644000000000000000000000001412174540134011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000104112174540134011035 0ustar libserver-starter-perl (0.15-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Alessandro Ghedini ] * New upstream release * Build-Depends on libtest-tcp-perl -- Alessandro Ghedini Fri, 26 Jul 2013 20:30:46 +0200 libserver-starter-perl (0.12-1) unstable; urgency=low * Initial release (Closes: #689950) -- Alessandro Ghedini Sat, 20 Oct 2012 17:57:29 +0200 debian/copyright0000644000000000000000000000205212174540134011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Server-Starter Source: https://metacpan.org/release/Server-Starter/ Upstream-Contact: Kazuho Oku Files: * Copyright: 2009-2012, Kazuho Oku License: Artistic or GPL-1+ Files: debian/* Copyright: 2012, Alessandro Ghedini License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/rules0000755000000000000000000000003612174540134010246 0ustar #!/usr/bin/make -f %: dh $@