[asterisk-dev] [Code Review] 3062: a systemd service

George Joseph reviewboard at asterisk.org
Wed Jan 1 10:43:10 CST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3062/#review10503
-----------------------------------------------------------



/trunk/contrib/asterisk.service
<https://reviewboard.asterisk.org/r/3062/#comment19965>

    I think network-online.target would be better. It should actually delay startup until the network is actually running.  network.target doesn't.
    



/trunk/contrib/asterisk.service
<https://reviewboard.asterisk.org/r/3062/#comment19966>

    I use the following which mimic some of the safe_asterisk settings...
    
    Nice=0
    UMask=0002
    LimitCORE=infinity
    LimitNOFILE=4096
    Restart=always
    RestartSec=4
    
    


- George Joseph


On Dec. 24, 2013, 9:49 a.m., Tzafrir Cohen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3062/
> -----------------------------------------------------------
> 
> (Updated Dec. 24, 2013, 9:49 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Installs a systemd service file for Asterisk.
> 
> Systeemd is the new "one daemon to rule them all" for Linux: http://www.freedesktop.org/wiki/Software/systemd/
> On systems without systemd this should be just a harmless (though maybe annoying) text file.
> 
> This is aimed at replacing safe_asterisk with a more reliable main loop. It almost does that. Is still fails to handle failures, as it seems that systemd's ExecPostStop command does not get the exist status of the stopped command.
> 
> 
> Diffs
> -----
> 
>   /trunk/contrib/asterisk.service PRE-CREATION 
>   /trunk/Makefile 404563 
> 
> Diff: https://reviewboard.asterisk.org/r/3062/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Tzafrir Cohen
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140101/037f5b22/attachment.html>


More information about the asterisk-dev mailing list