Commit graph

15 commits

Author SHA1 Message Date
e23af3be1f Allow foregrounding of applications
This feature has been sitting on the backburner for too long.  Now
you can foreground an application in three ways:

1)  At compile-time, use foreground => 1 in your constructor
2)  At run-time from the command itself: init.pl foreground
3)  At run-time from the environment settings: DC_FOREGROUND=1 init.pl start

This closes #15
2013-12-26 07:02:22 -05:00
ce57bc0b40 Added run_command method
This new method allows giving the action as an argument, and returns
the exit code which would have been used.  The origional run method
has become a shortcut for this method and remains backwards compatible.

This closes https://github.com/symkat/Daemon-Control/issues/57
2013-12-26 05:42:06 -05:00
0021b4eb9d Constructor now accepts a list
You can now pass a list to ->new() without wrapping it
as a hashref, since it's prettier and becoming expected
behavior.
2013-12-26 05:08:10 -05:00
ab4ebc8e86 Drop quiet accessor from base example. 2013-07-12 11:42:39 -07:00
fbf308a670 Prepping for CPAN Release. 2013-04-29 15:07:14 -07:00
18ca0723b8 Updated readme, thanks quicksilver. 2013-02-26 06:53:55 -08:00
f878431080 update COPYRIGHT as well to indicate their copyright 2012-09-04 15:18:17 -07:00
dbc2f629b7 Thank you, (mt) Media Temple. 2012-09-04 15:11:00 -07:00
e14a853d71 Documentation updates. 2012-09-04 15:03:37 -07:00
3a58e3d35e 0.0.7
* Added user and group accessors to set uid/gid based on names
    * Updated docs.
2012-04-15 23:19:06 -07:00
f2af7b215f 0.0.6 2012-15-04 SymKat <symkat@symkat.com>
* PID file will be deleted on do_stop
    * PID file will be created by the target user when ->uid set
    * uid() and gid() now take strings as well (doherty)
    * Kill signal order changed to TERM TERM INT KILL
    * init_config option added, gives LSB script a file to source.
    * Typo fixes
    * Mike Doherty (doherty) added to contrib (Thank you!)
2012-04-15 14:19:58 -07:00
ccda8486d0 0.0.5
* Fixed an issue with the inital PID being invalid.
    * Added directory accessor to support chdir before exec.
    * Minor documentation changes
2012-02-19 01:21:33 -05:00
218baffab0 0.0.3
* Test added for show_warnings.
    * Documentation updated for 0.0.2 changes.
    * Version changed this time.
2012-02-18 04:29:46 -05:00
96caa27993 And regenerate the markdown... 2012-02-12 04:06:20 -05:00
ec66c1b3c5 Inital Commit. 2012-02-12 03:58:05 -05:00