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

jcollie reviewboard at asterisk.org
Thu Jan 2 17:14:09 CST 2014



> On Jan. 1, 2014, 4:43 p.m., George Joseph wrote:
> > /trunk/contrib/asterisk.service, line 20
> > <https://reviewboard.asterisk.org/r/3062/diff/2/?file=49947#file49947line20>
> >
> >     I use the following which mimic some of the safe_asterisk settings...
> >     
> >     Nice=0
> >     UMask=0002
> >     LimitCORE=infinity
> >     LimitNOFILE=4096
> >     Restart=always
> >     RestartSec=4
> >     
> >

I don't think that these are appropriate for the default service file.  If you look at the Fedora service file, they are included as comments and can be enabled as needed by the administrator.


- jcollie


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


On Dec. 24, 2013, 4:49 p.m., Tzafrir Cohen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3062/
> -----------------------------------------------------------
> 
> (Updated Dec. 24, 2013, 4:49 p.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/20140102/4ca2037e/attachment-0001.html>


More information about the asterisk-dev mailing list