summaryrefslogtreecommitdiff
path: root/misc/ruby-daemons
AgeCommit message (Collapse)AuthorFilesLines
2021-10-26misc: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (possibly fetched conditionally?): ./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
2021-10-07misc: Remove SHA1 hashes for distfilesnia1-2/+1
2021-08-31misc/ruby-daemons: update to 1.4.1taca2-7/+7
1.4.1 (2021-08-26) * Fix :proc mode (pass &block explicitly) (thanks to Graham Rogers) * Fix style of REAMDE.md
2021-05-09misc/ruby-daemons: update to 1.4.0taca2-7/+9
pkgsrc change: add "USE_LANGUAGES= # none". 1.4.0 (2021-05-01) * Allow for customization which signals are sent to stop process (thanks to philister) * Resolves mismatched indentations (thanks to Luis M Rodriguez) * Allow to use pry-byebug 3.8.0 (thanks to kamipo)
2019-01-20misc/ruby-daemons: update to 1.3.1taca2-7/+7
== Release 1.3.1: December 14, 2018 * Fix undefined local variable or method `pid_delimiter' == Release 1.3.0: December 10, 2018 * Make logging more configurable. * Add configuration options for pid file delimters, force_kill_waittime * All status callback to be anything callable.
2018-03-14misc/ruby-daemons: update to 1.2.6taca2-7/+7
== Release 1.2.6: December 24, 2017 * Add links to rubydoc.info documentation. == Release 1.2.5: October 22, 2017 * In Application#stop, call zap, not cleanup on the pidfile (thanks to wevanscfi) * Use File.expand_path on and output and log files (thanks to Dave Harris)
2016-10-15Update ruby-daemons to 1.2.4.taca3-8/+10
== Release 1.2.4: August 1, 2016 * add :shush option * add :monitor_interval option * add :log_output_syslog option
2015-11-03Add SHA512 digests for distfiles for misc categoryagc1-1/+2
Problems found locating distfiles: Package colorls: missing distfile ls.tar.gz Package molden: missing distfile molden-4.6/molden4.6.tar.gz Package softmaker-office-demo: missing distfile ofl06trial.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-26Update HOMEPAGE.taca1-2/+2
Avoid using rubyforge.org since it stopped most of services.
2015-09-13Update ruby-daemons to 1.2.3.taca3-7/+8
== Release 1.2.3: June 25, 2015 * fix: ApplicationGroup now waits on subprocesses in start_all (thanks to tobithiel)
2015-06-07Update ruby-daemons to 1.2.2.taca2-6/+6
== Release 1.2.2: March 17, 2015 * fix 100% CPU usage bug when using monitor mode.
2015-03-13Update ruby-daemons to 1.2.1.taca3-11/+11
== Release 1.2.1: March 10, 2015 * increase version number to be able to re-push to rubygems == Release 1.2.0: March 8, 2015 * add options for custum log file names. * change pid file name scheme to "#progname_num#{number}.pid" for multiple instances. * fix call_as_daemon not saving the PID (thanks Roberto Plancarte) * allow for custom statis messages (thanks to Joseph Haig) * fix Pid.running? rescuing timeout exceptions (thanks to Geraud Boyer) * monitor.rb/application.rb/application_group.rb: handle :monitor and :multiple in combination correctly (thanks to Prakash Murthy). * pidfile.rb: Handle invalid or empty pid files instead of returning pid 0 (thanks to Aaron Stone) * run the whole gem through Rubocop (thanks to Aaron Stone) * gem cleanup (thanks to Aaron Stone)
2012-08-12Release 1.1.9: August 10, 2012imil3-7/+8
daemonize.rb: do srand in the forked child process both in daemonize and call_as_daemon (thanks to Andrew Havens).
2012-03-17Update ruby-daemons to 1.1.8.taca3-7/+9
= Daemons Release History == Release 1.1.8: February 7, 2012 * rename to daemonization.rb to daemonize.rb (and Daemonization to Daemonize) to ensure compatibility. == Release 1.1.7: February 6, 2012 * start_proc: Write out the PID file in the newly created proc to avoid race conditions. * daemonize.rb: remove to simplify licensing (replaced by daemonization.rb). == Release 1.1.6: January 18, 2012 * Add the :app_name option for the "call" daemonization mode. == Release 1.1.5: December 19, 2011 * Catch the case where the pidfile is empty but not deleted and restart the app (thanks to Rich Healey)
2011-06-19Update ruby-daemons package to 1.1.4.taca3-10/+7
= Daemons Release History == Release 1.1.4: June 17, 2011 * Do not change the umask to 0000 when daemonizing anymore, just leave it as it was (thanks to Jon Botelho). == Release 1.1.3: April 14, 2011 * Fixed a bug in Application.stop: the cached pid number needs to be used to check for the status of a killed process (thanks to Jimmy Sieben). == Release 1.1.2: March 29, 2011 * Fixed gemspec to include all needed files. == Release 1.1.1: March 29, 2011 * Make the logging facilities work in :mode => :none (i.e. when calling Daemons.daemonize) (thanks to the input from Peter Hegedus).
2010-09-10Update misc/ruby-daemons to 1.1.0.taca4-24/+15
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. == Release 1.1.0: June 20, 2010 * Honour the options[:app_name] in Daemons.daemonize (thanks to Ryan Tecco). * Included a new option :stop_proc to specify a proc that will be called when a daemonized process receives a request to stop (thanks to Dave Dupre). * Only delete the pidfile if the current pid is the original pid (ghazel). * Start when restart but no application running (pcreux). * Silently continue if there is no pidfile (ghazel). * We now per default wait for processes to stop and kill them automatically it if they do not stop within a given time (force_kill_waittime). Use the option --no_wait to not wait for processes to stop. * Set log files mode to 0644 (mikehale). * Set pid file permissions to 0644 (mikehale). * Added ability to change process uid/gid (mikehale). * Fix for: If you happen to start a daemon from a process that has open file descriptors these will stay open. As it is daemonize.rb only closes ruby IO objects (thanks to Han Holl). * New reload command (SIGHUP) (thanks to Michael Schuerig).
2009-06-14Remove @dirrm entries from PLISTsjoerg1-8/+1
2009-06-12* Fix build problem with new Rubygems by removing an obsolete method call.taca2-1/+14
No PKGREVISION bump since there is no change with built package.
2008-04-04Update ruby-daemons to version 1.0.10. Changes from version 1.0.8 include:jlam4-29/+63
+ Install as a Ruby gem. - Fixed a severe bug in the new Pid.running? function: function returned true if the process did not exist. - By default, we now delete stray pid-files (i.e. pid-files which result for example from a killed daemon) automatically. This function can be deactivated by passing :keep_pid_files => true as an option. - All pid files of :multiple daemons new get deleted correctly upon exit of the daemons. - Use the signal 'KILL' instead of 'TERM' on Windows platforms. - Use exit! in trap('TERM') instead of exit when option :hard_exit is given. - Did some clarification on the exception log.
2007-10-16Update ruby-daemons to 1.0.8.minskim2-7/+7
Changes: * new Pid.running? function. Checking whether a process exists by sending signal '0' * Patch to fix wrong ARGV when using :exec (in def start_exec: Kernel.exec(script(), *(@app_argv || [])))
2007-05-23Update ruby-daemons to 1.0.6.minskim2-7/+7
Changes: * New option to pass an ARGV-style array to run and run_proc * Additional patches for '/var/log'
2007-04-27Update ruby-daemons to 1.0.5.minskim2-7/+7
Changes: * Applied patch that causes daemons to use '/var/log' as logfile directory if you use :dir_mode = :system (thanks to Han Holl). * Daemons should now work with Ruby 1.9 (at least the basic features).
2007-02-04Update ruby-daemons to 1.0.4.minskim2-7/+7
Changes since 1.0.2: * Document the :log_output option. * Set STDOUT.sync = true when redirecting to a logfile. * Should now run also correctly when there is no working 'ps ax' on the system * Set the app_name correctly also for the monitor process.
2006-10-14Import ruby-daemons-1.0.2.minskim4-0/+38
daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be run as a daemon and to be controlled by simple start/stop/restart commands. daemons can also run and control blocks of Ruby code in a daemon process.