Install Rundeck as a Windows Service with AlwaysUp

How to Install Rundeck as a Windows Service with AlwaysUp

Automatically start Rundeck whenever your server boots and keep it running 24/7 in the background, for 100% uptime. No need to log on first.

Rundeck is an open source automation platform.

To install Rundeck as a Windows Service with AlwaysUp:

  1. Download the Rundeck WAR file, if necessary. Install and configure Rundeck as per the installation instructions.

    For this tutorial, we downloaded Rundeck Community 4.4.0 (rundeck-4.4.0-20220714.war) and placed it in the "C:\rundeck" folder:

    Rundeck Installation Folder

  2. Download and install AlwaysUp, if necessary.

  3. Start AlwaysUp.

  4. Select Application > Advisor to open the Application Advisor window:

    Start Application Advisor

  5. Click Next to move past the welcome page:

    Application Advisor: Welcome

  6. Since Rundeck is a Java based product, choose Java (JAR/WAR) from the list of applications.

    Rundeck Windows Service: Select Java (JAR/WAR)

    Click Next to proceed.

  7. AlwaysUp will spend a few seconds figuring out where you installed Java. (We installed the excellent and free Amazon Corretto on our server.)

    Afterwards, you will be prompted to enter the full path to the Rundeck WAR file.

    That's "C:\rundeck\rundeck-4.4.0-20220714.war" on our system but your path may be different:

    Rundeck Windows Service: Enter WAR file

    Click Next to move on.

  8. The service must run in your user account, where you've installed Java and configured the required environment variables (e.g. RDECK_BASE). Please enter your password:

    Rundeck Windows Service: Enter Windows account password

    Click Next.

  9. The application advisor is done collecting the settings for installing Rundeck as a Windows Service. Click Next to launch the Add Application window:

    Rundeck Windows Service: Advisor done

  10. Almost done!

    At the top of the Add Application window, change the name field to "Rundeck" (or anything else you like). Click the Save button to record your settings:

    Rundeck Windows Service: Set the name

  11. In a few seconds, a new entry for Rundeck will appear in the AlwaysUp window. The service has been installed but it's not running yet (it's in the Stopped state):

    Rundeck Windows Service: Created

  12. To start Rundeck as a service, choose Application > Start "Rundeck". The state will transition to Running and Rundeck will start in the background:

    Rundeck Windows Service: Running

    Click the green "Running" circle to show a popup with information about Rundeck. On our system, we noticed Java working hard to initialize Rundeck. It used 99% of the CPU and consumed over a gigabyte of RAM in less than 30 seconds!

    Rundeck Windows Service: Running details

    Thankfully the CPU calmed down after a few seconds (but the RAM held steady).

  13. And finally, let's confirm that Rundeck is working as expected. Browse to its URL (http://localhost:4440/, by default) and ensure that you get the login prompt (as we did):

    Rundeck Windows Service: URL Working

  14. That's it! Next time your computer boots, Rundeck will start automatically, without anyone having to log on to launch it.

    We encourage you to edit Rundeck in AlwaysUp and check out the many other settings that may be appropriate for your environment. Capture the console output (for troubleshooting), configure a periodic sanity check to detect when the URL goes down, set up email reports, and much more.

Rundeck not working properly as a Windows Service?

  • Consult the AlwaysUp Troubleshooter — our online tool that can help you resolve the most common problems encountered when running an application as a windows service.

  • From AlwaysUp, select Application > Report Activity > Today to bring up an HTML report detailing the interaction between AlwaysUp and Rundeck. The AlwaysUp Event Log Messages page explains the messages that may appear.

  • Browse the AlwaysUp FAQ for answers to commonly asked questions and troubleshooting tips.

  • Contact us and we will be happy to help!

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 15.1 New!

7.9 MB Installer
Our 12,000+ customers include...
Compatible with Windows 11 Compatible with Windows Server 2022 Compatible with Windows 10
Over 94,000 installations, and counting!
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 19+ years!