bolteon Hello all, I've been racking my brain for the last day trying to figure out why the openvpnserv service doesn't notice a new configuration file being dropped into the appropriate folder it's looking to? Please tell me it doesn't just once scan the folder upon startup. Would be very helpful to those of us writing code to automate things... Cheers. Win 2k8 R2
Traffic bolteon wrotePlease tell me it doesn't just once scan the folder upon startup. Would be very helpful to those of us writing code to automate things...You did not stop to check how services work which your code depends upon .. ?
bolteon I suppose it was my error in just assuming that logically, with the service running; a config file dropped into the right folder should trigger a startup. Having it scan only once slightly defeats the purpose of it being a service, no? A shortcut into the start up folder would do the same thing... In this situation, the computer starting the server isn't manned by anyone so manual restart isn't an option but I've bridged a solution with a powershell script for now. Would there be any possibility of having the service code re-worked to scan the directory? I could try and do it myself but I've never dealt with that sort of stuff, so any help would be much appreciated. Cheers.