SYSTEMDOPS Module

Daniel-Constantin Mierla

Edited by

Daniel-Constantin Mierla


Table of Contents

1. Admin Guide
1. Overview
2. Dependencies
2.1. Kamailio Modules
2.2. External Libraries or Applications
3. Systemd Notifications

List of Examples

1.1. Systemd Notifications

Chapter 1. Admin Guide

1. Overview

It provides a collection of features to make easier the integration with systemd.

2. Dependencies

2.1. Kamailio Modules

The following modules must be loaded before this module:

  • none.

2.2. External Libraries or Applications

The following libraries or applications must be installed before running Kamailio with this module loaded:

  • libsystemd

3. Systemd Notifications

If loaded, the module will generate systemd notifications when Kamailio starts and when Kamailio shuts down. The content of these notifications (sent with sd_notify(...)) are shown in the next example (_PID_ is replaced by the PID of the main process).

Example 1.1. Systemd Notifications

...
READY=1\nMAINPID=_PID_
...
STOPPING=1
...