[asterisk-bugs] [JIRA] (ASTERISK-25988) Asterisk is lacking a systemd unit file

Michael L. Young (JIRA) noreply at issues.asterisk.org
Wed May 4 15:04:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230496#comment-230496 ] 

Michael L. Young edited comment on ASTERISK-25988 at 5/4/16 3:04 PM:
---------------------------------------------------------------------

Just to add some information.  When I did research on this over a year ago, when setting up my first CentOS 7 box, the consensus that I found on the mailing lists as well as on the reviewboard link that is in ASTERISK-21991, was that we should be using the scripts found in upstream rather than trying to maintain it within Asterisk itself.

It doesn't matter to me either way but it would make sense that if there is a systemd file maintained by upstream, it would be best to stick to using that.

I did a quick search this morning and it would seem that these systemd scripts can be found for both RHEL/Fedora and Debian based distributions from upstream.  Perhaps a text file should be added to point people to these sources?

For instance, here is from Fedora: http://pkgs.fedoraproject.org/cgit/rpms/asterisk.git/tree/asterisk.service


was (Author: elguero):
Just to add some information.  When I did research on this over a year ago, when setting up my first CentOS 7 box, the consensus that I found on the mailing lists as well as on the reviewboard link that is in ASTERISK-21991, was that we should be using the scripts found in upstream rather than trying to maintain it within Asterisk itself.

It doesn't matter to me either way but it would make sense that if there is a systemd file maintained by upstream, it would be best to stick to using that.

I did a quick search this morning and it would seem that these systemd scripts can be found for both RHEL/Fedora and Debian based distributions from upstream.  Perhaps a text file should be added to point people to these sources?

> Asterisk is lacking a systemd unit file
> ---------------------------------------
>
>                 Key: ASTERISK-25988
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25988
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 13.9.0
>         Environment: Any system with systemd as the init daemon, such as RHEL, Centos, Debian, Ubuntu, etc. 
>            Reporter: Sean Brady
>            Assignee: Sean Brady
>            Severity: Minor
>
> Asterisk has thus far been using the init.d compatibility scripts that have been adopted with multiple distros. This may cause issues in the future with systemd, and may eventually be deprecated. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list