Skip to content

Instantly share code, notes, and snippets.

@shinusuresh
Created January 31, 2017 13:53
Show Gist options
  • Save shinusuresh/ce7d30980ba1ba0bf94697f44aaf497a to your computer and use it in GitHub Desktop.
Save shinusuresh/ce7d30980ba1ba0bf94697f44aaf497a to your computer and use it in GitHub Desktop.
#!/bin/bash
# The logic to start up your application should be put in this
# script. The application will work only if it binds to
chmod +x $OPENSHIFT_REPO_DIR/diy/elasticsearch/bin/elasticsearch
nohup $OPENSHIFT_REPO_DIR/diy/elasticsearch/bin/elasticsearch > $OPENSHIFT_DIY_LOG_DIR/server.log 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment