mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 09:12:49 +01:00
10 lines
429 B
Bash
10 lines
429 B
Bash
#!/bin/bash
|
|
cp -a /mybots/bots/* /opt/intelmq/dev_intelmq/intelmq/bots/
|
|
cd /opt/dev_intelmq && pip3 install -e .
|
|
echo "Install requirements for bots in dev repository"
|
|
for file in $(find /intelmq-bots/ -name "*REQUIREMENTS.txt"); do pip3 install -r $file; done
|
|
chown -R intelmq:intelmq /opt/intelmq/
|
|
chown -R intelmq.www-data /opt/intelmq/etc/;
|
|
chmod -R g+w /opt/intelmq
|
|
su - intelmq -s /bin/bash -c 'intelmqctl upgrade-config'
|