chg: add decomission step for systemctl workers service

pull/8216/head
Luciano Righetti 2022-03-04 17:01:30 +01:00
parent 870b9d761b
commit ca54aa19b8
1 changed files with 7 additions and 2 deletions

View File

@ -19,11 +19,10 @@ Run on your MISP instance the following commands.
2. Install required PHP packages:
```
cd /var/www/MISP/app
sudo -u www-data composer require --with-all-dependencies supervisorphp/supervisor:^4.0 \
sudo -u www-data php composer.phar require --with-all-dependencies supervisorphp/supervisor:^4.0 \
guzzlehttp/guzzle \
php-http/message \
lstrojny/fxmlrpc
```
3. Add the following settings at the bottom of the **Supervisord** conf file, usually located in:
@ -151,5 +150,11 @@ Run on your MISP instance the following commands.
* /var/www/MISP/app/tmp/logs/misp-workers-errors.log
* /var/www/MISP/app/tmp/logs/misp-workers.log
5. Once the new workers are functioning as expected, you can remove the previous workers service:
```bash
$ sudo systemctl stop --now misp-workers
$ sudo systemctl disable --now misp-workers
```
### Notes
Scheduled tasks (TasksController) are not supported with the new backend, however this feature is going to be deprecated, it is recommended to use cron jobs instead.