We have an outdated legacy Windows application (already discussed here ) that copies content from a Windows host to many Linux hosts. We have several cases where it works on multiple mailboxes. Each instance has its own .ini file containing the list end servers. Quite often, we need to change the contents of these files and restart the process, which is performed manually by our ops team. I would like to replace this with a simple web-based utility (running on a Linux host) that allows users to create configuration files, send them to hosts, and restart services. Generating files is easy - I would probably use Perl and the Template Toolkit, and since servers export their configuration directories by copying data, it is also relatively easy.
What are my options for restarting windows services? Win32::Service ? I didnโt have the opportunity to look very far, so if you say โ x::y makes it easy, but watch out for zโ, you would save me a lot of time. Is it possible? Alternatively, perhaps you could suggest a better way to solve this problem (replacing the software, unfortunately, not one!) I'm not trying to be lazy, just not wasting time driving with modules that might not do what I want .
source share