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
Kohsuke Kawaguchi
bcb620a7f9
added download link
2013-04-20 18:32:16 -07:00
Kohsuke Kawaguchi
eb40ffbf35
releasing this as 1.13
2013-04-20 18:28:47 -07:00
Kohsuke Kawaguchi
18d02115f4
Reusing the timespan parsing code
2013-04-20 18:26:44 -07:00
Kohsuke Kawaguchi
926e6aa007
Doc update
2013-04-20 18:25:20 -07:00
Kohsuke Kawaguchi
231db43ba1
Non-zero value makes more sense
...
If this defaults to 0, effectively it makes the element mandatory.
2013-04-20 18:18:29 -07:00
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
Kohsuke Kawaguchi
8c2f65f55a
Work in progress.
...
Committed so that I can work on this from another computer.
2013-04-18 07:35:28 -07:00
Kohsuke Kawaguchi
c0126037be
releasing this as 1.12
2013-03-31 07:28:18 -07:00
Kohsuke Kawaguchi
fb6f5eb7bc
my version of .NET doesn't seem to allow optional parameters
2013-03-31 16:12:50 +02:00
Kohsuke Kawaguchi
058c39dbbd
Explaining the variable expansion
2013-03-31 07:04:31 -07:00
Kohsuke Kawaguchi
44cbd03afd
documenting the new addition
2013-03-31 06:58:12 -07:00