Nicholas Carpenter
76de18b744
Fix needing to call install command from same directory.
2015-01-31 22:51:44 -05:00
Oleg Nenashev
f4c11569cb
.gitignore - All user settings
...
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 12:51:12 +03:00
Oleg Nenashev
b95f6f6d5c
Refactoring: Null checks for getters in ServiceDescriptor (broken XmlDocument)
...
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 12:38:48 +03:00
Oleg Nenashev
9291ac911c
Refactoring - minor cleanup of Main.cs
...
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 12:18:25 +03:00
Oleg Nenashev
6fcebfa0e2
Refactoring: cleanup the codestyle, convert vars to properties, etc.
...
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 02:26:28 +03:00
Oleg Nenashev
0105fe5214
Merge pull request #70 from ebsco/LogonAsAService
...
Adding logon as a service right to user account specified in configuration
2015-01-30 23:16:39 +03:00
Nicholas Carpenter
4ce20f5533
Adding logon as a service right to user account specified in configuration
2015-01-30 14:32:10 -05:00
Oleg Nenashev
92459d72dd
Descibe the build environment
...
Follow-up to #62
Also resolves #5
2015-01-28 16:40:12 +03:00
Oleg Nenashev
e2246877b0
Merge pull request #62 from kohsuke/MVS2013_Port
...
Port WinSW to Visual Studio Community 2013
2015-01-26 12:52:50 +03:00
Oleg Nenashev
9f9ad24b16
Next version is 1.17
2015-01-24 01:34:08 +03:00
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