mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +02:00
poetry update and workers
This commit is contained in:
parent
73f5d0c5d3
commit
a30160cb77
1 changed files with 1 additions and 9 deletions
10
install.sh
10
install.sh
|
@ -121,16 +121,8 @@ wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/CO
|
||||||
# Configure workers
|
# Configure workers
|
||||||
# su - $SUDO_USER -c 'cd pandora; for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done'
|
# su - $SUDO_USER -c 'cd pandora; for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done'
|
||||||
|
|
||||||
# Disable all workers
|
|
||||||
su - $SUDO_USER -c 'cd pandora && mkdir pandora/workers/disabled && mv pandora/workers/*.sample pandora/workers/*.py pandora/workers/disabled'
|
|
||||||
|
|
||||||
# select some workers
|
|
||||||
su - $SUDO_USER -c 'cd pandora; cp pandora/workers/disabled/base.* pandora/workers'
|
|
||||||
su - $SUDO_USER -c 'cd pandora; cp pandora/workers/disabled/clamav.* pandora/workers'
|
|
||||||
su - $SUDO_USER -c 'cd pandora; cp pandora/workers/disabled/extractor.* pandora/workers'
|
|
||||||
|
|
||||||
# Update Pandora
|
# Update Pandora
|
||||||
su - $SUDO_USER -c 'cd pandora; poetry run update --yes'
|
su - $SUDO_USER -c 'cd pandora; ../.local/bin/poetry run update --yes'
|
||||||
|
|
||||||
#---------------------
|
#---------------------
|
||||||
# Pandora-box
|
# Pandora-box
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue