gitbucket_jkp / contrib / linux / redhat /
@Viktor Berke Viktor Berke authored on 17 Jan 2018
..
selinux SELinux policy module, deploy script and instructions 7 years ago
README.md fix format 8 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 Update url in docs 9 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.