I've made a script using win32::daemon - it is a windows service. Now are all the variables hard-coded in the script and it works - I can start it as a windows service and it runs in background.
I want to change it to read some variables from a config file - I tried open a file or even "require", but it doesn't work - the service doesn't want to start anymore - throws "Error 1053: The service did not respond to the start or control request in a timely fashion" inmediately