[asterisk-bugs] [JIRA] (ASTERISK-21991) [patch] - install a systemd service unit

Tzafrir Cohen (JIRA) noreply at issues.asterisk.org
Wed Nov 11 05:44:33 CST 2015


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

Tzafrir Cohen commented on ASTERISK-21991:
------------------------------------------

Just one comment:

  Restart=always

is probably not what you would expect. it means that after: rasterisk -x 'core stop now' # the asterisk service will restart. It would probably be better to have:

  Restart=on-failure

Also: why did you change it to RestartSec=10 #?

> [patch] - install a systemd service unit
> ----------------------------------------
>
>                 Key: ASTERISK-21991
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21991
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: General
>    Affects Versions: SVN
>            Reporter: Tzafrir Cohen
>            Severity: Minor
>         Attachments: 0001-install-a-systemd-service.patch
>
>
> systemd is a new init system used by various Linux distributions. It aims at providing an environment that is compatible among different distributions, and hence its service configuration files ("units") are eto be provided from Upstream.
> The attached patch includes a simple version of a systemd unit for Asterisk, as well as installing it. It is not enabled, though.



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



More information about the asterisk-bugs mailing list