Mantis - Resin
Viewing Issue Advanced Details
6092 major always 09-13-17 12:41 11-02-17 16:49
peachk33n  
ferg  
normal  
closed 4.0.52  
fixed  
none    
none 4.0.55  
0006092: Unable to start as Windows service
Hello.

I have been able to use Resin 4.0.51 and below to start a Windows service by running the 'Setup.exe' and setting it up from there.
When I do this with Resin 4.0.52 or .53 I am unable to run the new Windows service.

If i leave all of my configurations the same and simply replace the 'resin.exe' with one from Resin 4.0.51 the service will start fine. But it will not run with newer versions of Resin.

Notes
(0006790)
peachk33n   
09-14-17 07:50   
Id like to add that I believe this might be related to my setup pointing to my own configuration files outside of the Resin folder. Like I said before, this works with Resin 4.0.51, but possibly something has changed in that realm for .52 and up?

When I set up a service with the setup.exe I add the following parameters to the Extra Parameters box (assigning them to the correct paths):
-D64
-Dconfig_root
-Dlog_root
-Dapplication_root
-Dlog_root_backup

as well as changing the 'Resin Root', 'Resin Conf', and 'Log Directory' to locations outside of the Resin Home.