debian-mirror-gitlab/debian/rules
2017-08-17 23:04:11 +05:30

21 lines
677 B
Makefile
Executable file

#!/usr/bin/make -f
%:
dh $@ --with=systemd
override_dh_install:
dh_install -XLICENSE
# Make sure we are installing all required files in debian/install
sh debian/upstream-file-count-check.sh
rm -rf debian/gitlab/usr/share/gitlab/tmp/*
mv debian/gitlab/var/lib/gitlab/db/schema.rb debian/gitlab/var/lib/gitlab/db/schema.rb.template
override_dh_installinit:
dh_installinit --no-start -p gitlab --name=gitlab-sidekiq
dh_installinit --no-start -p gitlab --name=gitlab-unicorn
dh_installinit --no-start -p gitlab --name=gitlab-mailroom
dh_installinit --no-start -p gitlab --name=gitlab-workhorse
dh_installinit
override_dh_systemd_start:
dh_systemd_start --no-start