Added semanage line in Readme to know how to make access to Flexiapi logs persistent across relabeling.

This commit is contained in:
Peio Rigaux 2021-12-21 11:17:51 +00:00
parent 7224e2831f
commit 956119e3c1

View file

@ -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