Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.5 (build 3282) - 23 February 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Can Cumulus MX be run as a Windows Service?

General news concerning announcements of new releases, forum outages etc.
Post Reply
User avatar
justinhow
Posts: 4
Joined: Sat 26 Dec 2009 8:15 pm
Weather Station: Watson W-8681
Operating System: Windows Server 2003

Can Cumulus MX be run as a Windows Service?

Post by justinhow »

I can't find much referring to this question although I know it was asked about the previous version.

I can use sc.exe to create the service but I wanted to check whether it was recommended or not.
Last edited by justinhow on Thu 25 Feb 2016 12:56 pm, edited 1 time in total.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Can Cumulus MX be run as a Windows Service?

Post by steve »

I can't think of any reason why it wouldn't work, as long as the user it runs under has the right permissions, but I haven't tried it myself. At some point I hope to look at building in the option to run it as a service.
Steve
User avatar
justinhow
Posts: 4
Joined: Sat 26 Dec 2009 8:15 pm
Weather Station: Watson W-8681
Operating System: Windows Server 2003

Re: Can Cumulus MX be run as a Windows Service?

Post by justinhow »

Ok - I wondered whether the CTRL-C to stop did a graceful shutdown which stopping the service would not?
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Can Cumulus MX be run as a Windows Service?

Post by steve »

I'd assumed that the wrapper would send the correct signal to the application when the service was stopped. The best thing to do is just try it with a test installation, the diags file will show whether it was closed cleanly.
Steve
njc
Posts: 11
Joined: Wed 17 Feb 2016 2:20 pm
Weather Station: Davis VP2
Operating System: Windows 2012 R2
Location: Sutton, MA

Re: Can Cumulus MX be run as a Windows Service?

Post by njc »

I am running Cumulus MX as a service and it works great.
You might also look at this app to create the service for you:
http://www.pirmasoft.de/cms/freeware/runassvc To uninstall the service you go to add/remove programs (appwiz.cpl). Make sure you run RunAsSvc.exe as admin/elevated or it doesn't create the service.
Post Reply