gitbucket_jkp / contrib / linux / redhat /
@Toru Takahashi Toru Takahashi authored on 24 Nov 2014
..
README.md Enable contrib init file and RPM's spec file to run on RHEL 6/CentOS 6 as non root user. 10 years ago
gitbucket.init Enable contrib init file and RPM's spec file to run on RHEL 6/CentOS 6 as non root user. 10 years ago
gitbucket.spec Enable contrib init file and RPM's spec file to run on RHEL 6/CentOS 6 as non root user. 10 years ago
README.md

Contrib Notes

RPM spec file and init script for Red Hat Enterprise Linux 6.x.

To create RPM:

  1. Edit ../../gitbucket.conf to suit.
  2. Edit gitbucket.init to suit.
  3. Edit gitbucket.spec to suit.
  4. Place gitbucket.spec to rpm/SPECS/.
  5. Place gitbucket.init and gitbucket.war to rpm/SOURCES/.
  6. Execute rpmbuild -ba rpm/SPECS/gitbucket.spec

This rpm runs gitbucket not as root user but as gitbucket user. This rpm creates user and group named gitbucket at installation. This rpm make chkconfig of gitbucket to be on.