Skip to content

Instantly share code, notes, and snippets.

@arthurtsang
Last active September 25, 2019 06:37
Show Gist options
  • Save arthurtsang/649738ef1806a7915f75dd054dfec26b to your computer and use it in GitHub Desktop.
Save arthurtsang/649738ef1806a7915f75dd054dfec26b to your computer and use it in GitHub Desktop.
run.sh to start nginx and fcgiwrap
#!/usr/bin/env bash
set -exuo pipefail
export PATH=$PATH:/bfx/bin/nextflow/19.07.0
spawn-fcgi -u www-data -s /var/run/fcgiwrap.socket /usr/sbin/fcgiwrap
nginx -g "daemon on;"
nextflow "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment