[asterisk-users] Which tool to automatically restart Asterisk ?
Stefan Tichy
asterisk3 at pi4tel.de
Fri Feb 17 10:13:15 CST 2017
On Fri, Feb 17, 2017 at 04:38:47PM +0100, Olivier wrote:
> 3. For systemd envs where /etc/init.d files are not used anymore, what do
> you recommend ?
Even if /etc/init.d/ files are still used for other services,
asterisk may have a unit file in /etc/systemd/system/
[Unit]
Description=Asterisk
.....
[Service]
Restart=on-failure
RestartSec=15s
ExecStopPost=-/usr/local/bin/send-some-mail
.....
--
Stefan Tichy ( asterisk3 at pi4tel dot de )
More information about the asterisk-users
mailing list