Pre-Submission Checklist

Type Of Change

Checklist:

Description

This PR aims to allow multiple kamailio instances with different configs to be managed by systemd.

The new kamailio@.service is the systemd template file, where one can provide an instance name after systemctl start kamailio@dev, to start a new kamailio instance with name kamailio-dev and use config file found in /etc/kamailio/kamailio-dev.cfg.

I tested that this file and its content can work by placing the file in /etc/systemd/system/kamailio@.service and using the above dev instance name as an example. Kamailio loads and handles any new messages along with the default kamailio service.

My question right now, as I am not really familiar with the packaging workflow, is this an appropriate way to accomplish it. If yes what should be modified to install this alongside the normal kamailio.service.

Any feedback and review is appreciated and greatly needed!

Thanks!


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3904

Commit Summary

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3904@github.com>