Commit Graph

37 Commits

Author SHA1 Message Date
Kohsuke Kawaguchi
2bf9e858a9 %BASE% was broken
I haven't pinned down which change caused this, but `%BASE%` was supposed to point to a directory and not the executable.
2015-04-02 19:53:35 -07:00
Oleg Nenashev
d430642769 Merge pull request #77 from ebsco/configfilesearchfix3
Fix null exception and throw a FileNotFoundException if xml file is neve...
2015-02-01 15:55:09 +03:00
Oleg Nenashev
51e64d1deb Merge pull request #76 from ebsco/pathingfix
Fix needing to call install command from same directory.
2015-02-01 14:55:33 +03:00
Nicholas Carpenter
91ed4b3184 Fix null exception and throw a FileNotFoundException if xml file is never found 2015-01-31 23:33:27 -05:00
Nicholas Carpenter
76de18b744 Fix needing to call install command from same directory. 2015-01-31 22:51:44 -05:00
Nicholas Carpenter
57b6d2ad48 Add ability to set startup type to XML file 2015-01-31 22:26:03 -05: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
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
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
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 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
Ryan Finley
60817bcd7a Fixed XML parsing of TimeSpan elements 2014-10-07 08:50:01 -05:00
Kohsuke Kawaguchi
e8036488c8 Moved P/Invoke wrappers to other files 2014-04-01 14:28:03 -07:00
Kohsuke Kawaguchi
ff002e8711 Added logger that throws away output 2014-03-31 18:38:50 -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
a4ee776bcc Added priority support
Also improved the test harness a bit.
2014-01-08 22:33:08 -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
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
18d02115f4 Reusing the timespan parsing code 2013-04-20 18:26:44 -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
fb6f5eb7bc my version of .NET doesn't seem to allow optional parameters 2013-03-31 16:12:50 +02: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
7616bddc9f updating 2013-03-01 18:05:48 -08:00
Kohsuke Kawaguchi
48fb6579ed corrected typo as pointed out by issue #2 2013-03-01 15:28:41 -08:00
Kohsuke Kawaguchi
98a12b70ff a few more follow up changes in 1.11 2011-10-27 11:21:11 -07: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
f211481e77 improved type safety 2011-10-27 09:35:25 -07:00
Kohsuke Kawaguchi
ddf9d4b2bf env variable expansion needs to happen first if we want to really detect
whitespace in arguments correctly

cherry picked c542409b17
2011-10-27 09:19:11 -07:00
Kohsuke Kawaguchi
088cfd232a WinSW should handle whitespace in the argument correctly
Cherry picked 83380bdd9b
2011-10-27 09:18:02 -07:00
Kohsuke Kawaguchi
a5da052192 cherry-picking from 08e877842d 2011-10-27 09:15:55 -07:00
Vincent Latombe
4feff7ae72 Expand the logpath attribute using environment variables 2011-05-19 17:28:59 +02:00
Kohsuke Kawaguchi
8d1deb2ae4 Splitting a file into smaller chunks. 2010-12-27 08:51:48 -08:00