head 1.10; access; symbols pkgsrc-2023Q4:1.10.0.58 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.56 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.54 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.52 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.50 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.48 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.46 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.44 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.42 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.40 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.38 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.36 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.34 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.32 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.28 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.8 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.30 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.26 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.24 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.22 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.10.0.20 pkgsrc-2018Q4-base:1.10 pkgsrc-2018Q3:1.10.0.18 pkgsrc-2018Q3-base:1.10 pkgsrc-2018Q2:1.10.0.16 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.14 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.12 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.10 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.10.0.6 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.4 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.10.0.2 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.9.0.10 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.8 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.6 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.4 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.2 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.8.0.4 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.2 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.7.0.20 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.18 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.16 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.14 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.12 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.10 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.8 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.6 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.4 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.2 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.6.0.4 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.2 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.5.0.6 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.4 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.2 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.4.0.6 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.4 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.2 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.3.0.10 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.8 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.2.0.12 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.10 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.8 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.6 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.4 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.2 pkgsrc-2008Q1:1.1.1.1.0.12 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.10 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.8 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.6 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.4 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.2 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.10 date 2016.10.15.15.10.32; author taca; state Exp; branches; next 1.9; commitid ZCbXn1A59j5CJfqz; 1.9 date 2015.09.13.14.43.40; author taca; state Exp; branches; next 1.8; commitid WOxudyfgg3Tyn6By; 1.8 date 2015.03.13.14.36.09; author taca; state Exp; branches; next 1.7; commitid dcrxmBJHgnPCfsdy; 1.7 date 2012.08.12.21.44.01; author imil; state Exp; branches; next 1.6; 1.6 date 2012.03.17.16.18.12; author taca; state Exp; branches; next 1.5; 1.5 date 2011.06.19.01.48.39; author taca; state Exp; branches; next 1.4; 1.4 date 2010.09.10.07.22.54; author taca; state Exp; branches; next 1.3; 1.3 date 2009.06.14.18.07.30; author joerg; state Exp; branches; next 1.2; 1.2 date 2008.04.04.15.19.57; author jlam; state Exp; branches; next 1.1; 1.1 date 2006.10.14.05.51.18; author minskim; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.10.14.05.51.18; author minskim; state Exp; branches; next ; desc @@ 1.10 log @Update ruby-daemons to 1.2.4. == Release 1.2.4: August 1, 2016 * add :shush option * add :monitor_interval option * add :log_output_syslog option @ text @@@comment $NetBSD: PLIST,v 1.9 2015/09/13 14:43:40 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/LICENSE ${GEM_LIBDIR}/README.md ${GEM_LIBDIR}/Releases ${GEM_LIBDIR}/examples/call/call.rb ${GEM_LIBDIR}/examples/call/call_monitor.rb ${GEM_LIBDIR}/examples/daemonize/daemonize.rb ${GEM_LIBDIR}/examples/run/ctrl_crash.rb ${GEM_LIBDIR}/examples/run/ctrl_custom_logfiles.rb ${GEM_LIBDIR}/examples/run/ctrl_exec.rb ${GEM_LIBDIR}/examples/run/ctrl_exit.rb ${GEM_LIBDIR}/examples/run/ctrl_hanging.rb ${GEM_LIBDIR}/examples/run/ctrl_keep_pid_files.rb ${GEM_LIBDIR}/examples/run/ctrl_monitor.rb ${GEM_LIBDIR}/examples/run/ctrl_monitor_multiple.rb ${GEM_LIBDIR}/examples/run/ctrl_monitor_nocrash.rb ${GEM_LIBDIR}/examples/run/ctrl_multiple.rb ${GEM_LIBDIR}/examples/run/ctrl_normal.rb ${GEM_LIBDIR}/examples/run/ctrl_ontop.rb ${GEM_LIBDIR}/examples/run/ctrl_optionparser.rb ${GEM_LIBDIR}/examples/run/ctrl_proc.rb ${GEM_LIBDIR}/examples/run/ctrl_proc_multiple.rb ${GEM_LIBDIR}/examples/run/ctrl_proc_rand.rb ${GEM_LIBDIR}/examples/run/ctrl_proc_simple.rb ${GEM_LIBDIR}/examples/run/ctrl_slowstop.rb ${GEM_LIBDIR}/examples/run/myserver.rb ${GEM_LIBDIR}/examples/run/myserver_crashing.rb ${GEM_LIBDIR}/examples/run/myserver_exiting.rb ${GEM_LIBDIR}/examples/run/myserver_hanging.rb ${GEM_LIBDIR}/examples/run/myserver_slowstop.rb ${GEM_LIBDIR}/lib/daemons.rb ${GEM_LIBDIR}/lib/daemons/application.rb ${GEM_LIBDIR}/lib/daemons/application_group.rb ${GEM_LIBDIR}/lib/daemons/change_privilege.rb ${GEM_LIBDIR}/lib/daemons/cmdline.rb ${GEM_LIBDIR}/lib/daemons/controller.rb ${GEM_LIBDIR}/lib/daemons/daemonize.rb ${GEM_LIBDIR}/lib/daemons/etc_extension.rb ${GEM_LIBDIR}/lib/daemons/exceptions.rb ${GEM_LIBDIR}/lib/daemons/monitor.rb ${GEM_LIBDIR}/lib/daemons/pid.rb ${GEM_LIBDIR}/lib/daemons/pidfile.rb ${GEM_LIBDIR}/lib/daemons/pidmem.rb ${GEM_LIBDIR}/lib/daemons/reporter.rb ${GEM_LIBDIR}/lib/daemons/syslogio.rb ${GEM_LIBDIR}/lib/daemons/version.rb ${GEM_HOME}/specifications/${GEM_NAME}.gemspec @ 1.9 log @Update ruby-daemons to 1.2.3. == Release 1.2.3: June 25, 2015 * fix: ApplicationGroup now waits on subprocesses in start_all (thanks to tobithiel) @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.8 2015/03/13 14:36:09 taca Exp $ d45 2 @ 1.8 log @Update ruby-daemons to 1.2.1. == 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) @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.7 2012/08/12 21:44:01 imil Exp $ d17 1 @ 1.7 log @Release 1.1.9: August 10, 2012 daemonize.rb: do srand in the forked child process both in daemonize and call_as_daemon (thanks to Andrew Havens). @ text @d1 1 a1 1 @@comment $NetBSD$ d4 1 a4 2 ${GEM_LIBDIR}/README ${GEM_LIBDIR}/Rakefile a5 1 ${GEM_LIBDIR}/TODO d10 1 d16 1 d44 1 a44 1 ${GEM_LIBDIR}/setup.rb @ 1.6 log @Update ruby-daemons to 1.1.8. = 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) @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.5 2011/06/19 01:48:39 taca Exp $ d23 1 @ 1.5 log @Update ruby-daemons package to 1.1.4. = 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). @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2010/09/10 07:22:54 taca Exp $ d24 1 d29 1 @ 1.4 log @Update misc/ruby-daemons to 1.1.0. * 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). @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:07:30 joerg Exp $ a21 1 ${GEM_LIBDIR}/examples/run/ctrl_proc.rb.output a22 1 ${GEM_LIBDIR}/examples/run/ctrl_proc_multiple.rb.output a25 1 ${GEM_LIBDIR}/examples/run/myserver_crashing.rb.output @ 1.3 log @Remove @@dirrm entries from PLISTs @ text @d1 2 a2 2 @@comment $NetBSD: PLIST,v 1.2 2008/04/04 15:19:57 jlam Exp $ ${GEM_HOME}/cache/daemons-${PKGVERSION}.gem d14 1 d30 1 d34 1 d38 1 d45 1 a45 1 ${GEM_HOME}/specifications/daemons-${PKGVERSION}.gemspec @ 1.2 log @Update ruby-daemons to version 1.0.10. Changes from version 1.0.8 include: + 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. @ text @d1 1 a1 1 @@comment $NetBSD$ a41 7 @@dirrm ${GEM_LIBDIR}/lib/daemons @@dirrm ${GEM_LIBDIR}/lib @@dirrm ${GEM_LIBDIR}/examples/run @@dirrm ${GEM_LIBDIR}/examples/daemonize @@dirrm ${GEM_LIBDIR}/examples/call @@dirrm ${GEM_LIBDIR}/examples @@dirrm ${GEM_LIBDIR} @ 1.1 log @Initial revision @ text @d2 47 a48 12 ${RUBY_SITELIBDIR}/daemons.rb ${RUBY_SITELIBDIR}/daemons/application.rb ${RUBY_SITELIBDIR}/daemons/application_group.rb ${RUBY_SITELIBDIR}/daemons/cmdline.rb ${RUBY_SITELIBDIR}/daemons/controller.rb ${RUBY_SITELIBDIR}/daemons/daemonize.rb ${RUBY_SITELIBDIR}/daemons/exceptions.rb ${RUBY_SITELIBDIR}/daemons/monitor.rb ${RUBY_SITELIBDIR}/daemons/pid.rb ${RUBY_SITELIBDIR}/daemons/pidfile.rb ${RUBY_SITELIBDIR}/daemons/pidmem.rb @@dirrm ${RUBY_SITELIBDIR}/daemons @ 1.1.1.1 log @Import ruby-daemons-1.0.2. 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. @ text @@