Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #1711

Closed
Open
Created Oct 16, 2012 by Administrator@rootOwner

GitlabHQ init.d Daemon (gitlabhqd)

Created by: uuf6429

After some time working on this, I came up with the following solution which seems to work in my case:

https://docs.google.com/document/d/1Cm7hIwbyrGmdkAOqsDmVdGNz0moh11xXeTzqMbbzg_c/edit

Feel free to use this and/or add it to the Wiki system - I'm sure it will help someone out there.

In short, it runs gitlabhq as a server using "bundle exec rails s", but as with common daemon convention, it also supports shutting down, restarting and finding the status of the service.

Don't forget to:

chmod 0755 /etc/init.d/gitlabhqd
chkconfig gitlabhqd on
service gitlabhqd start
Assignee
Assign to
Time tracking