Closed ekzobrain closed 8 years ago
Thanks a lot for the input! I will gladly integrate the changes to the initd file and work on the other issues.
Regarding the issue with mod_bv
: I only remember seeing the source code for broadvoice as a modified, bundled lib in the freeswitch repository, but I cannot check, since the freeswitch pages are currently down... Do you know, if there is any official repository where one could get the source code?
FS repo is already up. Is this what you are looking for?: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/libs/broadvoice I tried to find something about broadvoice elsewhere, but did not succeed.
I finally revisited this issue. Better late than never :)
The changes for the init script have already been integrated with the exception of the directory creation. I'd rather leave it to the ebuild to create the appropriate folder.
Thanks again for your help!
@soulhunter1987 I finally managed to add the creation of /var/run/freeswitch/
to the initd file. However, I used checkpath
(see man openrc-run
) to do so.
Hi.
Also I think it is useless to allow to set location of pid file via parameter because there is not way to change its location via FS params, it is hardcoded to /var/run/freeswitch/freswitch.pid. We did not change it, but you could do if you with. We had to add directory creation because FS does not create it by itself. We also changed flag -nc to -ncwait to see FS statrup output to be able to see possible errors.