[asterisk-dev] JIRA 25988: Systemd unit file for Asterisk: Submission

Sean Brady sbrady at haikuengineering.com
Wed May 11 07:51:45 CDT 2016


Hello all, first time committer here. I have a systemd unit file that I’d
like to pitch in and could use some advice. Where in the project should
this file to be placed for make install to do it’s magic? What needs to
happen to the make install script for this file to be included in the make
install process? From a community point of view, what are the next steps?

IMHO I don’t think that anything needs to be deprecated in the current make
install script immediately, as it works as is on Debian Jessie 8 and Centos
7 without issue (more testing sorely needed). Eventually I think that we’ll
need to deprecate all the init.d scripts for distros that are using
systemd, however until distros start phasing out the init.d process it’s
probably unnecessary.

I’d also like input on exactly how you’d like the systemctl commands to
function in relation to Asterisk. At the moment, “asterisk -rx ‘core
reload’” is the action for “systemctl reload asterisk.service” and
“asterisk -rx ‘core stop now’” for “systemctl stop asterisk.service”. My
only thoughts/caveats on that is that it may be better to stop convenient
for the community release. Thoughts?

Sean Brady
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20160511/41eab0a5/attachment.html>


More information about the asterisk-dev mailing list