mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #2910 from holta/pbx-revert-RestartSec
Revert 'RestartSec=3' in /etc/systemd/system/freepbx.service
This commit is contained in:
commit
dfa2af8265
2 changed files with 5 additions and 4 deletions
|
@ -7,7 +7,8 @@
|
||||||
# Yes /etc/systemd/system/freepbx.service is supposed to run 'fwconsole stop'
|
# Yes /etc/systemd/system/freepbx.service is supposed to run 'fwconsole stop'
|
||||||
# then 'fwconsole start' reliably, as many web posts recommend, But No Dice!
|
# then 'fwconsole start' reliably, as many web posts recommend, But No Dice!
|
||||||
#
|
#
|
||||||
# Do we need something like 'RestartSec=3' in freepbx.service ??
|
# Adding 'RestartSec=3' to freepbx.service is not the answer. Discussion here:
|
||||||
|
# https://github.com/iiab/iiab/pull/2908
|
||||||
#
|
#
|
||||||
#- name: Enable & (Re)start 'asterisk' systemd service (if pbx_enabled)
|
#- name: Enable & (Re)start 'asterisk' systemd service (if pbx_enabled)
|
||||||
# systemd:
|
# systemd:
|
||||||
|
|
|
@ -7,9 +7,9 @@ Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/sbin/fwconsole start
|
ExecStart=/usr/sbin/fwconsole start
|
||||||
ExecStop=/usr/sbin/fwconsole stop
|
ExecStop=/usr/sbin/fwconsole stop
|
||||||
# 2021-08-04: Does this help Asterisk (re)start reliably, as FreePBX install completes?
|
# 2021-08-04: Asterisk doesn't (re)start reliably, as FreePBX install completes:
|
||||||
# PR #2908: https://github.com/iiab/iiab/blob/master/roles/pbx/tasks/enable-or-disable.yml
|
# https://github.com/iiab/iiab/blob/master/roles/pbx/tasks/enable-or-disable.yml
|
||||||
RestartSec=3
|
# RestartSec=3
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue