-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Daemon-Start-Method / Daemon-Stop-Method doesn't works with procrun ! #13
Comments
Start/stop in jvm mode instead of java mode. This change will enable the use of Daemon-Start-Method and Daemon-Stop-Method. See issue puniverse#13
Solution proposed -> see pull request. Don't know if it is the way you wanted to solve this as I changed the mode java to mode jvm.
But I tested on my windows 7, 64 bits, and it works as expected. Let me know if you have any remarks. |
The main reason for What is your use case for start/stop methods under Windows? |
My use case is : run an Apache Camel based application as a windows service.
But you are true, it breaks the feature |
Regarding the the feature
If we choose for mode JVM, I guess the jvm will run under the user specified in Do you have any specific use case where an application should be run in |
No specific use case (yet) but I'd avoid dropping I still think the best solution would be to add a |
Since the process is started/stopped in Java Mode : see DaemonCapsule.java
and according to the spec of procRun :
It will never works as expected.
Yves.
The text was updated successfully, but these errors were encountered: