Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Buddhika Chathuranga
@buddhikac96
Yeah.. okay for me...
and could you confirm that I can continue with camel case in YAML naming convention?
Oleg Nenashev
@oleg-nenashev
I would definitely vote for that
YAML/XML inconsistency is not ideal
Buddhika Chathuranga
@buddhikac96
okay then.. i will continue with camel case!
Oleg Nenashev
@oleg-nenashev
Also, YAMLDotNet has a WithNamingConvention() attribute in the deserializer builder. It might be possible to support camel case mode by default and to support other modes. At the same time, looks like an overkill and unnecessary complexity to me
Buddhika Chathuranga
@buddhikac96
thanx.. I will check this!
Oleg Nenashev
@oleg-nenashev
If I have any time on the weekend, I plan to work on...
  • v2 to v3 branch merge so that we port changes into the v3 branch
  • ROADMAP.md draft which would summarize the v3 roadmap and other items from the wishlist
And yes, reviewing stale pull requests like winsw/winsw#677 . Sorry, totally missed it due to the vacation
Buddhika Chathuranga
@buddhikac96
Would be great.
Oleg Nenashev
@oleg-nenashev
There are some changes happening on my side which would allow me to do some Jenkins development during working time. It would consequently allow to dedicate more time to WinSW on the weekends
Buddhika Chathuranga
@buddhikac96
Winsw have hit 1M downlods :heart_eyes:
Oleg Nenashev
@oleg-nenashev
Oh great
missed that
:fireworks:
Good excuse to return to social media after the vacation
@buddhikac96 Anything else from your side?
I will start a Doodle for the further meetings. Something in between 8AM UTC and 11AM utc is te best option for me
Buddhika Chathuranga
@buddhikac96
No.. I will continue working on the remaining task. I can ask questions asynchronously in this channel... and thank you for your time.. !!!!
Oleg Nenashev
@oleg-nenashev
thank you too!
Buddhika Chathuranga
@buddhikac96
Sounds good!
Oleg Nenashev
@oleg-nenashev
FTR I have marked WinSW for Hactoberfest based on the recent update: https://hacktoberfest.digitalocean.com/hacktoberfest-update
Oleg Nenashev
@oleg-nenashev
Buddhika Chathuranga
@buddhikac96
thats great! I also have un-dinished one :smiley: time to finish and publish
1 reply
Oleg Nenashev
@oleg-nenashev
Thanks for the release @NextTurn !
Next Turn
@nxtn
@oleg-nenashev Are you able to reproduce #739?
1 reply
Next Turn
@nxtn
@oleg-nenashev Do you know why KK chose to invent WinSW in C#? It's also feasible to implement it with Java and JNI.
Oleg Nenashev
@oleg-nenashev
@NextTurn dunno. Maybe just a language discovery/study. There are some API in .NET which make it easier than just JNI, but I doubt it was a big factor
Next Turn
@nxtn
What makes me more curious is that over so many years no one has made a winsvc library in Java and everyone is still happily using various service wrappers. Even Golang has an official svc package for that.
Next Turn
@nxtn
I disabled GitHub actions to stop Release Drafter from overwriting my hand-written drafts.
Oleg Nenashev
@oleg-nenashev
:+1:
Next Turn
@nxtn
Re-enabled now with manual triggers.
Next Turn
@nxtn
User-visible changes for 2.11.0 are almost ready. I've drafted a release to help review recent pull requests merged against master.
(#foo ← #bar) means #foo for 2.x backports #bar for 3.x.
Oleg Nenashev
@oleg-nenashev
Looks good @NextTurn . Thanks a lot for assembling it
mookixiao
@mookixiao
I use WinSW to make frp, a reverse proxy tool, start when my Windows startups. And I noticed that the wrapped service communicates with my server every three or four seconds. I didn't see this when I start frp manually before. I am curious and want to ask is the condition caused by WinSW or Windows service manager?
3 replies
image.png
mookixiao
@mookixiao
image.png
image.png
image.png
Next Turn
@nxtn
I'll try to reproduce this if I get some free time, though I doubt whether it is related to WinSW itself.
mookixiao
@mookixiao
OK, I'll check it. Thanks for reply.
Benjamin Golinvaux
@bgolinvaux

Hello. I am sorry, this is a double post: i first used the Github repo discussion tab but realized the actual discussion is happening here :)

Here is my question :

I am currently using version 2.10.3.

I notice that service start and stop work fine : my executable, that takes quite a long time to stop (I added Sleep() calls to debug its termination and it takes more than 10 sec), goes to the end of the stopping sequence with no issues.

However, when Windows is asked to shut down (Windows 10 1909), it seems the child processes are killed before their closing sequence is completely performed.

I have read on this : https://www.howtogeek.com/282062/control-how-long-windows-waits-before-killing-apps-at-shutdown/
that Windows enforces a hard limit on executable shutdown time that can only be set through registry but it is a bit unclear to me. I also read about the pre-shutdown even but am not sure whether WinSW deals with it (the source code, at least in the 2.x branch, does not seem to use it)

Can you please shed some light on what I must do, both in my code/config and perhaps in Windows registry, to make sure my child processes are not forcefully terminated upon normal system shutdown ?

Thank you very much (and sorry for my non native English :) )

(I seem to notice that most of the talks above are related to actual WinSW development... If my user question is not welcome here, I sincerely apologize and will of course delete my message quickly ! )
Francois Marot
@francois.marot_gitlab
Hello, I was wondering: is it possible to use winsw as an executable wrapper, omitting the 'service ' part ? I am looking for a replacement for winrun4j but do not need to install as a service
Marcos Campelo
@CampeloMarcos

Hello, when executing the command winsw.exe install some .dll is extracted in the folder C:\windows\temp.net\winsw\folder and C:\users\user\Temp.net\winsw\ folder.

is it possible to change the location of these dlls?

2 replies
michael-uy
@michael-uy

Hello, I am using WinSW 2.11.0 and configured to have a log mode of “roll-by-size-time”. Every time our log rolls over, we are encountering an exception - The process was terminated due to an unhandled exception. Exception Info: System.ObjectDisposedException: Cannot access a closed file.

I am assuming the closed file it refers to is the log file. The thing is, the service is running fine, thinking that it exits and tries to start a new one. Just wondering if this is a known issue and if there is a possible resolution to it? Thanks!

MohanlalGopu
@MohanlalGopu
Hi
Oleg Nenashev
@oleg-nenashev
hi