chg: add decomission step for systemctl workers service

pull/275/head
Luciano Righetti 2022-03-04 17:03:42 +01:00
parent a247c5c7c2
commit 66c20d7cd2
1 changed files with 7 additions and 1 deletions

View File

@ -688,7 +688,7 @@ 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
@ -820,5 +820,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.