mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Move pbx/templates/freepbx.service.j2 to freepbx.service
This commit is contained in:
parent
85105bad7c
commit
3fce9afe2f
2 changed files with 2 additions and 17 deletions
|
@ -7,9 +7,8 @@ Type=oneshot
|
|||
RemainAfterExit=yes
|
||||
ExecStart=/usr/sbin/fwconsole start
|
||||
ExecStop=/usr/sbin/fwconsole stop
|
||||
# 2021-08-04: Asterisk doesn't (re)start reliably, as FreePBX install completes:
|
||||
# https://github.com/iiab/iiab/blob/master/roles/pbx/tasks/enable-or-disable.yml
|
||||
# RestartSec=3
|
||||
# 2021-08-04: Asterisk doesn't (re)start reliably, as FreePBX install completes,
|
||||
# especially on Debian 11? https://github.com/iiab/iiab/pull/2908 / PR #2910
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
[Unit]
|
||||
Description=FreePBX VoIP Server
|
||||
After=mysql.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/sbin/fwconsole start
|
||||
ExecStop=/usr/sbin/fwconsole stop
|
||||
# 2021-08-04: Asterisk doesn't (re)start reliably, as FreePBX install completes,
|
||||
# especially on Debian 11? https://github.com/iiab/iiab/pull/2908 / PR #2910
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue