Commit Graph

441 Commits (978e693df49f83f760dcd0b1ef819328167e3740)

Author SHA1 Message Date
Oleg Nenashev 005a1fd5b5 Use Release version instead of Debug one.
Resolves https://github.com/kohsuke/winsw/issues/63

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-24 01:23:54 +03:00
Oleg Nenashev 99fb13d41a Switch to the built-in signing procedure.
Each developer will have to specify his own winsw_cert.pfx in the project root.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-23 15:24:38 +03:00
Oleg Nenashev 45fba7f974 Migrate the project to http://meetings.jenkins-ci.org/jenkins/2015/jenkins.2015-01-21-19.01.log.html
Related to #56

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-22 10:14:43 +03:00
Oleg Nenashev 67aa8a143c Merge branch 'XmlFix' of https://github.com/PunMaster/winsw
Conflicts:
	ServiceDescriptor.cs

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-11-29 18:04:50 +03:00
Oleg Nenashev b93e08ee8b Merge pull request #53 from oleg-nenashev/PR_47_refactoring
PR #47 - merged version
2014-11-21 13:17:52 +03:00
Oleg Demchenko a2f4c7fc5b Unit tests for PR #47 and minor refactoring
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-11-02 14:59:29 +03:00
Oleg Demchenko 9a09af2c17 Properly read StopTimeout from configuration.
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-11-02 14:58:52 +03:00
Oleg Demchenko 350fa99749 New option to shutdown parent process first.
Option name = stopparentprocessfirst

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-11-02 14:57:25 +03:00
Oleg Nenashev c4336a4713 Merge pull request #48 from BernhardBerbuir/master
Fixed issue #40
2014-11-02 14:28:12 +03:00
Oleg Nenashev 57ba48100f Merge pull request #50 from eel/fix-failure-reset-period
Use total seconds of TimeSpan for reset period
2014-10-09 22:33:44 +04:00
Ryan Finley 60817bcd7a Fixed XML parsing of TimeSpan elements 2014-10-07 08:50:01 -05:00
Stephen Booher bb847a45f7 Use total seconds of TimeSpan for reset period 2014-10-03 13:46:05 -06:00
Kohsuke Kawaguchi 6080007e82 Merge pull request #49 from daniel-beck/JENKINS-10547
[FIXED JENKINS-10547] Don't fail fatally when unable to log event
2014-10-01 11:47:03 -07:00
Daniel Beck 220eff2ac3 [FIXED JENKINS-10547] Don't fail fatally when unable to log event 2014-09-07 01:45:26 +02:00
BernhardBerbuir 13ef886a6e Fixed issue #40 2014-07-08 13:13:45 +02:00
Kohsuke Kawaguchi d0d4266af2 Cherry picking a portion of
602d473d78
2014-05-11 09:39:47 -07:00
Kohsuke Kawaguchi 6250a2755b Releasing 1.16 2014-04-01 15:41:48 -07:00
Kohsuke Kawaguchi 269f069ee4 Documenting about updating winsw.exe itself 2014-04-01 15:01:15 -07:00
Kohsuke Kawaguchi c32ab2cc79 Grammar fix, I think 2014-04-01 14:32:50 -07:00
Kohsuke Kawaguchi db4906a97c This is the Windows way of expanding variables 2014-04-01 14:31:31 -07:00
Kohsuke Kawaguchi e8036488c8 Moved P/Invoke wrappers to other files 2014-04-01 14:28:03 -07:00
Kohsuke Kawaguchi 2beae94c3f Documenting the self-restarting process 2014-04-01 13:33:01 -07:00
Kohsuke Kawaguchi 5d2c07c4bf Added a command to run 'restart' from another process group.
This allows the service to restart itself.
If we use the regular "restart" command, Windows Service Control
Manager will make sure to kill the entire process group (including
the "winsw.exe restart" itself), preventing the service from getting
restarted.
2014-04-01 13:21:27 -07:00
Kohsuke Kawaguchi 3a74585609 Trapping Ctrl+C handler didn't work.
It made Windows Service Controller pause for a while to give processes a
graceful opportunity to exit, then presumably it timed out and killed
all the processes anyway.
2014-04-01 12:54:29 -07:00
Kohsuke Kawaguchi 0094a33523 Releasing 1.15 2014-04-01 09:23:03 -07:00
Kohsuke Kawaguchi 1198686fdf Documenting the 'none' logging mode 2014-03-31 18:40:15 -07:00
Kohsuke Kawaguchi ff002e8711 Added logger that throws away output 2014-03-31 18:38:50 -07:00
Kohsuke Kawaguchi b08d85ed80 Clarify that this is for a single argument.
issue #24 highlights the confusion
2014-03-31 18:25:11 -07:00
Kohsuke Kawaguchi db9161386e Fixed issue #26
The first file open should be append.
2014-03-31 18:20:16 -07:00
Kohsuke Kawaguchi ed0633b53f Fixed issue #27
<argument>/<arguments> should be optional
2014-03-31 18:17:50 -07:00
Kohsuke Kawaguchi 2ffdbde6a9 Expose the ID of the service
Process launched from winsw can use these information to talk back to winsw.exe
2014-03-04 10:16:46 -08:00
Kohsuke Kawaguchi c6b4eef548 Documented the priority support 2014-01-08 22:38:37 -08:00
Kohsuke Kawaguchi a4ee776bcc Added priority support
Also improved the test harness a bit.
2014-01-08 22:33:08 -08:00
Kohsuke Kawaguchi 7359e59e81 Releasing this as 1.14 2014-01-08 21:55:44 -08:00
Kohsuke Kawaguchi c76cbff0d0 fixed a compiler error 2014-01-08 21:40:22 -08:00
Kohsuke Kawaguchi 0ee22abe8c Propagate abnormal termination to Windows SCM.
This will enable it to restart the service based on policies.
2014-01-08 21:36:10 -08:00
Kohsuke Kawaguchi ae1bc43cff Making Ctrl+C the default behaviour
also making the timeout customizable, plus documentation
2014-01-08 21:27:53 -08:00
Ed Frey 1ed045b817 Add option to send a SIGINT to the process being wrapped 2014-01-02 14:04:20 -05:00
Kohsuke Kawaguchi ab4a373038 Merge pull request #22 from LateRoomsGroup/master
Addition of option to get username/password and working directory from the configuration XML
2013-10-28 21:22:54 -07:00
The LateRooms Group 7aa4018451 Read username/password & working dir from XML
It is possible to specify the useraccount (and password) that the
service will run as.  In addition, the working directory for the service
can be supplied.
2013-07-17 13:18:04 +01:00
Kohsuke Kawaguchi 380c329b0a Fixed issue #16: Making 'stopexecutable' really optional. 2013-07-02 10:51:06 -07:00
Kohsuke Kawaguchi 9e6e8bb3d9 Updated the copyright dates
Fixed issue #17
2013-07-02 10:46:33 -07:00
Kohsuke Kawaguchi c863e7fc33 A bit of refactoring to avoid duplication and readability.
Still needs to verify that this doesn't cause any regressions.
2013-07-02 10:41:52 -07:00
Kohsuke Kawaguchi 87f62cfab4 Merge branch 'master' of github.com:slide/winsw 2013-07-02 10:32:31 -07:00
Alex Earl b86d5c13b0 Removing unused code 2013-07-01 10:01:38 -07:00
Alex Earl c99fec03d1 Adding option to install with a specific username/password for the service. 2013-07-01 09:59:41 -07:00
toruuetani c50bb61b7b Kill process with its children 2013-06-21 22:43:45 +09:00
Kohsuke Kawaguchi 314fb7b9d0 Bug fix
- The sku attribute is optional. So for the simplicity let's not have
  it.
- When the supportedRuntime element is specified, it trumps what's in
  the executable, so v2.0 needs to be explicitly given.
- Version check is exact check, so "v2.0" and "v2.0.50727" aren't the
  same thing. So we really need to say "v2.0.50727" to let this match
  with .NET 2.0 runtime.
2013-05-10 15:53:44 -07:00
Kohsuke Kawaguchi 1cd492c39e Explained the config file. 2013-05-09 14:58:23 -07:00
Kohsuke Kawaguchi d66f9952c3 Merge remote-tracking branch 'origin/autorestart' 2013-05-06 14:10:10 -07:00