Skip to content

Creating Systemd Units

The Systemd Service Units can be created:

  • Automatically by Muppy; this is the case, for example, with the Create button button found at the top of the PostgreSQL Cluster form.
  • Manually
  • With the Import Systemd Units Wizard

Manually creating a Systemd Service Unit for an existing service

Click the Create button in the Systemd Units list view, then provide:

  1. The id of an existing Systemd Unit
  2. The Host

and click the Create wrapper button button.

The wrapper is created; all that is left to do is click the Refresh button button. Muppy will refresh the Service Unit with the service data, as shown in the following image:

Systemd Service Unit form

Manually creating a Systemd Service Unit from scratch

It is also possible to create a Systemd Service Unit ex nihilo. In this case, provide the name of the unit file you want to create as well as the host, and refer to the Editing Systemd Units page.

Import Systemd Units Wizard

Muppy provides a Wizard that simplifies the import of existing Systemd Units (accessible via the Muppy / Hosts / Systemd / Import Systemd Units menu):

Import Systemd Units Wizard

The Wizard works as follows:

  1. Provide the Host that hosts the Units
  2. Provide a Regular Expression used to filter the list of Units present on the Host
  3. Click the Add units button button to add the Units matching the Regex to the list of Units
  4. Check the Import box for the units you want to import
  5. Optionally remove the lines you are not interested in
  6. When the list of Units you want to import is ready, click the Import button button

Muppy will then create all the Service Units and run a refresh for each of them.