fixed init file

This commit is contained in:
Manuel Friedli 2015-09-28 21:33:24 +02:00
parent 038dfac767
commit e73162942b
2 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,5 @@
AUX fix-Makefile-0.2.10.patch 386 SHA256 16a0441a38a057773859af0a50f6f21fa1220c94dfc7521d2b9f86d9931cafbf SHA512 e18e74cdfa8d540b541e0b00e8a8bc70e2691e9985bc5a4f302848be99bd9765ef5531cb6a92ad807daec85e7c5e5d1f19c6a4223460755de304a1eeb419b87c WHIRLPOOL ce23abcd31287e28a27762b2c51ab906e3eb652f1c3c23011b6257d271f59a72b34d89e9624ab1a9941c62910775c0b8651d11c414a11760417f106800d6ec1c
AUX gitlab-git-http-server.conf 222 SHA256 363b39f109219d478d3060b300115eddffd17988569ad485bfab0f4ad5cb5374 SHA512 f246cafbd4d7e7b7c30c24396751ff0d6f549934e87aad10e668b1bfe37de0bd319827dee2392919455ffd05977aa5a198a25d6664dda1d4100b42c303f20f1f WHIRLPOOL 901bc146461d532b1b9cedc506f9baf99a9064dd4e88adbdbd2761abf57814de5aca6fda990143618575a5a4865dd2b8789ed9ec3a6195f14a077eb12bc2c660
AUX gitlab-git-http-server.init 417 SHA256 0aefe5e8c85a98bb177ebd20e952051717381fe147a70488523d97e335d43f50 SHA512 70afebf1b382f2b1cc5cdf6bb6d22393161938a241aabadc4332296f430a4f73a38ba257ac0363f43f9a6329a1c04428060f64bc8f506c9bedf578333a3ae790 WHIRLPOOL 222eb1636a3c9fa3320e53bc9facb096cad4555a451b6ce504845798c1bd6518af0b1d839149373602dd2279007364c893d818d7ec7205c01132e7942b47c83c
AUX gitlab-git-http-server.init 645 SHA256 b47fdf7dc9d6cad0e3257c8822d210884329b5e3f9a02d14f96e521b659cffd3 SHA512 57fa092055c8bc30ee3b48b91dc493deabbcfd4fa171d903c348e405b74cb83ccb61e426d89af813265aabc92b30e7de45a4e001651be5e2ca32a5d8299b22f2 WHIRLPOOL 859473aeb215a6380bc3957f80ad581cdf8448e568148ac35a5d2ebaf9ceb0b35699d15d8290aba46e096763eb7957b6c25a5a714792845a35c9e03ebb751d70
DIST gitlab-git-http-server-0.2.10.tar.bz2 7150 SHA256 13a43078c2fe321c83c4af61db087ed5f1bef443a866dd05704717e197ce8f2a SHA512 faae12473e3994bfed31c7b13ad20e30f74a954db1b622ff911dce9be4dbc1a54a0ee4d0e9706f443928ad72ea810184360c590251e8012a882e8dea1538878b WHIRLPOOL c0b8ad7143bfc40b0540a5dd3466eb26b8698a3aa307a0086020d42968d23f785b4a22309b04f6923e6003efa53dc4a4412ec13fb7ec5c21f54220d04d786032
EBUILD gitlab-git-http-server-0.2.10.ebuild 1013 SHA256 a58fbddd639ec411198bf616afa57adf5cbc2eaad766c1fd803c98465f0d1131 SHA512 2b80f94c9481c7ecd9ee861720d3c9dc1a8dcf32f9d0cbc8fb63b89381514c41db6c7845430d3e8ba0b8d60f059fe98f060163e15f31bc3704d277d2916192a0 WHIRLPOOL 9b363c208ebde3a85d4cd21ae527c938b5701889fbdc57650c34b1191782b932096faca4e2113da10b2fb8b7c41487ba6a4453a56abd0eee9331c2ab1e749270

View file

@ -3,7 +3,14 @@
start() {
ebegin "Starting gitlab-git-http-server"
start-stop-daemon --start --exec /usr/bin/gitlab-git-http-server --pidfile /run/gitlab-git-http-server.pid \
--make-pidfile --user ${RUNAS_USER}:${RUNAS_GROUP} \
--make-pidfile --background --user ${RUNAS_USER}:${RUNAS_GROUP} \
-- -authBackend=${AUTH_BACKEND} -listenAddr=${LISTEN_ADDR} -listenNetwork=${LISTEN_NETWORK} -listenUmask=${LISTEN_UMASK} \
-pprofListenAddr=${PPROF_LISTEN_ADDR} ${GIT_REPO_PATH}
eend $?
}
stop() {
ebegin "Stopping gitlab-git-http-server"
start-stop-daemon --stop --exec /usr/bin/gitlab-git-http-server --pidfile /run/gitlab-git-http-server.pid --user ${RUNAS_USER}:${RUNAS_GROUP}
eend $?
}