We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
I have a bash script that updates multiple MISP instances if you're interested.
Sorry, something went wrong.
I would be interested in looking at that update script.
thanks!
This is what I've been using:
#!/bin/bash export http_proxy=http://proxy.local:3128 export https_proxy=http://proxy.local:3128 doupdate () { cd $1 git pull git submodule init git submodule update chgrp -R apache $1 find $1 -type d -exec chmod g=rx {} \; chmod -R g+r,o= $1 chown apache:apache $1/app/files chown apache:apache $1/app/files/terms chown apache:apache $1/app/files/scripts/tmp chown apache:apache $1/app/Plugin/CakeResque/tmp chown -R apache:apache $1/app/tmp chown -R apache:apache $1/app/webroot/img/orgs chown -R apache:apache $1/app/webroot/img/custom chmod 750 $1/app/Console/worker/start.sh } if [ -z "$1" ]; then MISP=( /www/misp.*/html/MISP ) else MISP=() while [ ! -z "$1" ]; do MISP+=( /srv/www/misp.$1/html/MISP ) shift done fi for i in "${MISP[@]}"; do echo Updating $i doupdate $i done
No branches or pull requests
The text was updated successfully, but these errors were encountered: