Creating a Linux systemd service to control the Boomi Atom

Creating a Linux systemd service to control the Boomi Atom

Written by Jan Daris

Jan Daris is a hands-on Integration Architect and Developer who enjoys solving complex integration puzzles with Azure, Boomi, APIs, and event-driven architecture. Through this blog, he shares practical knowledge, lessons learned, and real-world solutions to help other architects, developers, and IT teams build better integration platforms.

February 18, 2024

Creating a Linux systemd service to control the Boomi Atom

Introduction

Systemd is a modern system and service manager for Linux operating systems. By creating a systemd service unit, you can control the lifecycle of the Boomi Atom, allowing you to start, stop, and manage the Atom as a background service. This tutorial will guide you through the process of creating a systemd service for the Boomi Atom on your Linux distribution.

Prerequisites

Before you begin, ensure you have the following:

  • A Linux distribution with systemd installed (e.g., Ubuntu, CentOS, Red Hat).
  • The Boomi Atom installed and configured on your Linux machine.

Creating the systemd Service

Follow these steps to create a systemd service unit for the Boomi Atom:

  1. Create a Service Unit File: Open a terminal and create a new service unit file using a text editor such as nano or vi:
sudo nano /etc/systemd/system/boomi-atom.service

Paste the following content into the file:

Replace “<your_atom_name>” with the name of your Boomi Atom directory.

  1. Save and Close the File: Press Ctrl + X to exit, then press Y to confirm the changes, and press Enter to save the file.
  2. Reload systemd: Reload the systemd daemon to apply the changes:
sudo systemctl daemon-reload
  1. Enable the Service: Enable the Boomi Atom service to start automatically at boot:
sudo systemctl enable boomi-atom.service

The Boomi Atom systemd service is now created and configured on your Linux system. You can start, stop, and manage the Atom service using systemd commands.

Conclusion

Creating a systemd service unit for the Boomi Atom on your Linux distribution provides a convenient way to manage the lifecycle of the Atom as a background service. By following the steps outlined in this tutorial, you can ensure that the Boomi Atom starts automatically at boot and remains running reliably on your system.

Caution: be aware that this script will try to keep your Boomi atom up no matter what. If you perform a ./atom stop command it will restart immidiatly after.

You May Also Like…

0 Comments