mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Import ReactPHP Socket and required dependencies Add a new configuration variable to define the unix pipe path Generalize the API Key to all the users, add a new endpoint to retrieve it, update the documentation Update the dependencies Update the documentation Complete the tests
7 lines
No EOL
350 B
Bash
7 lines
No EOL
350 B
Bash
#!/bin/sh
|
|
|
|
cd /opt/belledonne-communications/share/flexisip-account-manager/flexiapi/
|
|
sudo -su www-data && php artisan digest:clear-nonces 60
|
|
sudo -su www-data && php artisan accounts:clear-api-keys 60
|
|
sudo -su www-data && php artisan accounts:clear-accounts-tombstones 7 --apply
|
|
sudo -su www-data && php artisan accounts:clear-unconfirmed 30 --apply |