mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Added semanage line in Readme to know how to make access to Flexiapi logs persistent across relabeling.
This commit is contained in:
parent
7224e2831f
commit
956119e3c1
1 changed files with 9 additions and 1 deletions
|
|
@ -104,6 +104,14 @@ Allow the webserver user to write in the `storage/` directory:
|
|||
|
||||
chcon -R -t httpd_sys_rw_content_t storage/
|
||||
|
||||
Don't forget to make this change persistent if the directory may be relabeled :
|
||||
|
||||
semanage fcontext -a -t httpd_sys_rw_content_t storage/
|
||||
|
||||
You can use the restorecon command to verify that this is working :
|
||||
|
||||
restorecon storage/
|
||||
|
||||
If your database is located on a remote machine, you should also allow your webserver user to connect to remote hosts:
|
||||
|
||||
semanage port -a -t http_port_t -p tcp 3306 // Open remote connections on the MySQL port for example
|
||||
|
|
@ -180,4 +188,4 @@ The functions already contains example codes to show you how the XML can be enha
|
|||
|
||||
You can also seed the tables with test accounts for the liblinphone test suite with the following command (check LiblinphoneTesterAccoutSeeder for the JSON syntax):
|
||||
|
||||
php artisan accounts:seed /path/to/accounts.json
|
||||
php artisan accounts:seed /path/to/accounts.json
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue