Auto Update Drupal Multisite

By Jordan , 6 April, 2015

I was recently talking with the fine folks at UCSF.edu and they mentioned that they do updates of giant Drupal multisites.  I asked them how they manage that.  The answer: a script!  So of course I wanted one too.

<--break->

Here are my steps:

  1. Create a bash script in your home directory (or somewhere outside your web root)
  2. Make the script executable: sudo chmod +x myscript
  3. Put the following code inside your script: https://gist.github.com/koppieesq/2ccb8b562e56ae8dad767db9812a25bf

Comments

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.