Changelog
portreserve (0.0.0-3) unstable; urgency=low
* Applied patch from Matt Brown <email address hidden> :
* Adjusted debian/copyright to include libslack copyright and license (GPL)
* Create /etc/portreserve on installation, although it's not handled by
the package scripts (other packages can drop files there).
[ Matt Brown ]
* Fixed minor init script bugs (Closes: #352103)
- Use -z instead of -n to test list of service files
- Use $NAME instead of the undefined $prog in the pidfile name
* Make portreserve handle pidfiles using daemon_lock_pidfile and
fcntl_lock taken from libslack:
- Check for existance of pidfile on startup, fail if already running
- Create pidfile on startup
- Remove pidfile when program exits cleanly
[ Javier Fernandez-Sanguino ]
* Enhance init script:
- stale pidfiles are removed (in case we switch runlevels and
all services were portreleased or /var/run/ was not cleaned or
portreserve did not clean up properly on release).
- Use the exit status of start-stop-daemon to determine if we
succeeded, also, wait a bit before checking the running status
on fast systems the init.d script might trigger a
race condition and think that the daemon has not started yet
* Make portreserve cleanup the pidfile on SIGINT, SIGTERM, and SIGKILL
* Make portreserve generate the pidfile even if working on debug mode
-- Ubuntu Archive Auto-Sync <email address hidden> Thu, 15 Jun 2006 15:21:37 +0100