user/gitlab-pages: update initd

This commit is contained in:
Antoine Martin 2024-06-13 15:24:44 -04:00
parent 85764269af
commit b59929e82a
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 6 additions and 3 deletions

View file

@ -4,7 +4,7 @@
pkgname=gitlab-pages pkgname=gitlab-pages
pkgver=17.0.2 pkgver=17.0.2
_gittag="v$pkgver" _gittag="v$pkgver"
pkgrel=0 pkgrel=1
pkgdesc="A daemon used to serve static websites for GitLab users" pkgdesc="A daemon used to serve static websites for GitLab users"
url="https://gitlab.com/gitlab-org/gitlab-pages/" url="https://gitlab.com/gitlab-org/gitlab-pages/"
arch="all" arch="all"
@ -31,5 +31,5 @@ package() {
sha512sums=" sha512sums="
3cbd35acdd98acac4300bf1eadedd53db8925ae70c1af7c94eaff26399b501490b81432631c493988ca5fa91154b72b0eb8b00441caec6f67771be3079bee526 gitlab-pages-v17.0.2.tar.gz 3cbd35acdd98acac4300bf1eadedd53db8925ae70c1af7c94eaff26399b501490b81432631c493988ca5fa91154b72b0eb8b00441caec6f67771be3079bee526 gitlab-pages-v17.0.2.tar.gz
710a9b652327e57e620c2bdb02bf912a6f61044eaaf61d36c6612284e9b951d2ac6f5eef77dfea16a0cde328bd4c556d9e47791c560139c27cb9659076f809b1 ungit-makefile.patch 710a9b652327e57e620c2bdb02bf912a6f61044eaaf61d36c6612284e9b951d2ac6f5eef77dfea16a0cde328bd4c556d9e47791c560139c27cb9659076f809b1 ungit-makefile.patch
20bc66c1c3548568ed353ca8d584f9108b9688f9375f212a18efc7b8386fdaafb3b2dc9e865f21c7f8fd31ada6e91842a8bb8d397f64851d853bb0de3e0e60bb gitlab-pages.initd f53bfb315b4a140e17cff0df40b0445f74f19c2a9dc4910865f075bf2d369d18b3808fcb63ff4514a568598691f04700a2422f60011cf8a0805799da55fe8cbf gitlab-pages.initd
" "

View file

@ -11,9 +11,12 @@ command="/usr/bin/gitlab-pages"
# Note: The rest of the options is set in start_pre(). # Note: The rest of the options is set in start_pre().
command_args=" command_args="
-pages-domain=$pages_domain -pages-domain=$pages_domain
-gitlab-server=$pages_gitlab_server
-artifacts-server=$pages_artifacts_server
-pages-root=$pages_root -pages-root=$pages_root
-redirect-http=${pages_redirect_http:-true} -redirect-http=${pages_redirect_http:-true}
-use-http2=${pages_use_http2:-true} -use-http2=${pages_use_http2:-true}
-api-secret-key=$pages_api_secret_key
" "
command_background="yes" command_background="yes"
@ -51,5 +54,5 @@ start_pre() {
} }
optif() { optif() {
test -n "$2" && printf '%s/n' "$1=$2" || true test -n "$2" && printf '%s' "$1=$2" || true
} }