Tags: installing*

7 bookmark(s) - Sort by: Date ↓ / Title / Voting /

  1. #! /bin/bash
    ### BEGIN INIT INFO
    # Provides: gitlab
    # Required-Start: $local_fs $remote_fs $network $syslog redis-server
    # Required-Stop: $local_fs $remote_fs $network $syslog
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: GitLab git repository management
    # Description: GitLab git repository management
    ### END INIT INFO

    DAEMON_OPTS="-c /home/gitlab/gitlab/config/unicorn.rb -E production -D"
    NAME=unicorn
    DESC="Gitlab service"
    PID=/home/gitlab/gitlab/tmp/pids/unicorn.pid
    RESQUE_PID=/home/gitlab/gitlab/tmp/pids/resque_worker.pid

    case "$1" in
    start)
    CD_TO_APP_DIR="cd /home/gitlab/gitlab"
    START_DAEMON_PROCESS="bundle exec unicorn_rails $DAEMON_OPTS"
    START_RESQUE_PROCESS="./resque.sh"

    echo -n "Starting $DESC: "
    if `whoami` = root » ; then
    sudo -u gitlab sh -l -c "$CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS"
    else
    $CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS
    fi
    echo "$NAME."
    ;;
    stop)
    echo -n "Stopping $DESC: "
    kill -QUIT `cat $PID`
    kill -QUIT `cat $RESQUE_PID`
    echo "$NAME."
    ;;
    restart)
    echo -n "Restarting $DESC: "
    kill -USR2 `cat $PID`
    kill -USR2 `cat $RESQUE_PID`
    echo "$NAME."
    ;;
    reload)
    echo -n "Reloading $DESC configuration: "
    kill -HUP `cat $PID`
    kill -HUP `cat $RESQUE_PID`
    echo "$NAME."
    ;;
    *)
    echo "Usage: $NAME {start|stop|restart|reload}" >&2
    exit 1
    ;;
    esac

    exit 0
    https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md
    Tags: , , , , , by jmiguel (2012-07-04)
    Voting 0
  2. git config --global user.email
    https://github.com/gitlabhq/gitlabhq/wiki/V2.0-easy-setup-for-ubuntu
    Tags: , , , , , by jmiguel (2012-07-02)
    Voting 0
  3. -
    http://wiki.linuxwall.info/doku.php/e...:dossiers:database:oracle10g_centos55
    Tags: , , , by jmiguel (2011-10-13)
    Voting 0
  4. -
    http://www.oracle.com/technetwork/server-storage/linux/articles/index.html
    Tags: , , , by jmiguel (2011-09-16)
    Voting 0
  5. Prerrquisistos oficiales de Instalacion  de oracle incluido unbreakable
    http://download.oracle.com/docs/cd/B2...l.111/b32002/pre_install.htm#CIHFICFD
    Tags: , , , by jmiguel (2011-09-16)
    Voting 0
  6. -
    https://forums.oracle.com/forums/thread.jspa?threadID=1115155
    Tags: , , , , , by jmiguel (2011-09-13)
    Voting 0
  7. -
    http://www.excession.org.uk/blog/inst...g-oracle-on-ubuntu-karmic-64-bit.html
    Tags: , , by jmiguel (2011-06-28)
    Voting 0

Top of the page

First / Previous / Next / Last / Page 1 of 1 jmiguel bookmarks: tagged with "installing"

About - Propulsed by SemanticScuttle