Commit Graph

37 Commits (314fb7b9d02cb335041b4077f4edb8059ed05b6f)

Author SHA1 Message Date
Kohsuke Kawaguchi 0eaa554ed3 Integrated failure action.
Also improved the timespan support.
Defaulting to ms for backward compatibility.
2013-04-20 18:08:35 -07:00
Kohsuke Kawaguchi becb2d249a now it works 2013-04-20 17:38:49 -07:00
Kohsuke Kawaguchi 4caa17f921 my first shot 2013-04-20 17:04:57 -07:00
teddy 39891488bf change the wrapped process working directory
set the working directory of the wrapped process with the location of the winsw executable, or the path defined in the configuration file.
2013-03-19 01:53:52 +01:00
Kohsuke Kawaguchi 9118145a4b Manually applied patch from comment #5 in
http://kenai.com/bugzilla/show_bug.cgi?id=4246
2011-10-27 10:25:26 -07:00
Kohsuke Kawaguchi 91382d4851 Added file sharing mode and protected thread body. 2010-12-27 09:03:40 -08:00
Kohsuke Kawaguchi 8d1deb2ae4 Splitting a file into smaller chunks. 2010-12-27 08:51:48 -08:00
Kohsuke Kawaguchi f86f622f0b improving code to work better in UAC environment 2010-11-17 22:04:49 -08:00
kohsuke_kawaguchi fb063c16d4 fixed a bug in the log rotation
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@40 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-07-22 18:11:01 +00:00
kohsuke_kawaguchi edb8ee971f fixed a compilation problem. Does this mean I committed a broken code?
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@37 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-07-22 00:15:27 +00:00
kohsuke_kawaguchi eef81d98d0 Quote the path. See http://www.nabble.com/Windows-Service%3A-Error-193%3A-***-is-not-a-valid-Win32-application.-td24586795.html
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@36 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-07-22 00:07:53 +00:00
kohsuke f6dc186164 added log rotation support
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@35 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-06-11 01:33:02 +00:00
kohsuke 07d017ed3e bug fix
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@32 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-02-13 20:16:15 +00:00
kohsuke 5177de8b66 expand environment variables
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@31 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-02-13 19:18:17 +00:00
kohsuke b8dbc77d7e Adding a download service. This enables self-updating services
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@30 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-02-13 19:01:06 +00:00
jjasper4 3b3591d66f make settings configurable
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@29 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-02-08 19:50:19 +00:00
jjasper4 32860b8155 should be while !process.WaitForExit of course
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@28 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-31 14:04:12 +00:00
jjasper4 3b4052df0d correct currentState required/test beep on success
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@27 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-28 21:28:10 +00:00
jjasper4 54c4a25951 log complete stacktrace
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@26 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-19 22:13:18 +00:00
jjasper4 afb43c58e2 delay shutdown for service to end properly
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@25 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-19 00:41:57 +00:00
jjasper4 7f8ceb3f45 shutdown support
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@24 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-14 21:40:30 +00:00
jjasper4 8fc1277776 unix lf
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@23 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-14 18:55:49 +00:00
jjasper4 cb3cff2dbe restart service revisited
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@22 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-07 21:13:29 +00:00
jjasper4 d42cf5188c support different stop executable (for example MySQL)
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@21 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-05 21:58:57 +00:00
jjasper4 fe0ceb5e79 bugfix restart service options
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@20 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-05 21:40:01 +00:00
kohsuke 58d7f0afd2 applied a patch in https://kenai.com/bugzilla/attachment.cgi?id=25
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@18 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2009-01-05 18:30:52 +00:00
kohsuke 8b650f865e Doc improvement.
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@15 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-17 01:20:40 +00:00
jjasper4 afab25eba5 Support for startargument and stopargument to enable services that require something like 'catalina.bat run' and 'catalina stop'
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@14 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-09 17:46:06 +00:00
jjasper4 127d6ca5a3 Support multiple optionally element depend to specify a service that must start before this service starts.
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@12 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-08 22:19:24 +00:00
jjasper4 e5b221f801 Support an optionally specified logpath element.
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@11 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-08 22:02:48 +00:00
jjasper4 bd2ce3688a Support a Logmode to 'reset', 'roll' once or 'append' (default) the out.log and err.log files.
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@10 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-08 21:38:14 +00:00
jjasper4 9d5c22007f Support for multiple optional <argument> elements to make it easier to uncomment single (debug) arguments. When available the argument element(s) overrule the <arguments> element.
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@9 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-08 20:49:58 +00:00
jjasper4 88107b7cd4 Add envars from config.xml to the Environment.SetEnvironmentVariable to enable the usage of those envars in arguments, etc. Note: OnStart must first call descriptor.EnvironmentVariables for this to work. The envars are written to the EventLog information.
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@8 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-08 20:27:46 +00:00
jjasper4 d51e11a7a4 support that the windows service wrapper executable itself is available on the PATH
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@7 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-08 20:07:19 +00:00
kohsuke cee2f0a19e ready to push 1.3
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@6 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-11-01 06:10:00 +00:00
kohsuke 3d280921fd added restart support
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@4 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-10-31 04:14:26 +00:00
kohsuke e94628badf initial import
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@2 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
2008-09-26 23:31:19 +00:00