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

Sean Brady (JIRA) noreply at issues.asterisk.org
Wed May 4 01:30:56 CDT 2016


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

Sean Brady commented on ASTERISK-25988:
---------------------------------------

I couldn't submit a file when creating the issue, but I can now. Attached is the systemd unit file that I have been using in production with success. Some modifications may be needed during installation, such as file paths. Some of the the checks for empty directories can also be removed. I feel like this is a good start for most users and platforms. 

Tested and working on Debian 8.x and Centos 7.x.

> 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
>            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