Skip to content
Snippets Groups Projects
  1. Nov 21, 2018
    • wu-lee's avatar
      mastodon_db_backup.sh - disable TTY on docker-compose; use pipefail · 196ba2d6
      wu-lee authored
      Script ran fine on the console, failed in cron job.  This is because
      the docker-compose exec command was attempting (by default) to allocate
       a TTY, and failing.  This was also not being detected because the
      default bash behaviour is to return the status of the last command
      in a pipe (in this case, gzip). Enable pipefail option to prevent this.
      196ba2d6
  2. Nov 15, 2018
  3. Aug 28, 2018
Loading