mirror of https://github.com/MISP/misp-book
chg: add decomission step for systemctl workers service
parent
a247c5c7c2
commit
66c20d7cd2
|
@ -688,7 +688,7 @@ Run on your MISP instance the following commands.
|
||||||
2. Install required PHP packages:
|
2. Install required PHP packages:
|
||||||
```
|
```
|
||||||
cd /var/www/MISP/app
|
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 \
|
guzzlehttp/guzzle \
|
||||||
php-http/message \
|
php-http/message \
|
||||||
lstrojny/fxmlrpc
|
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-errors.log
|
||||||
* /var/www/MISP/app/tmp/logs/misp-workers.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
|
### 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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue