mirror of https://github.com/MISP/MISP
chg: add decomission step for systemctl workers service
parent
870b9d761b
commit
ca54aa19b8
|
@ -19,11 +19,10 @@ 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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Add the following settings at the bottom of the **Supervisord** conf file, usually located in:
|
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-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