www-servers/gitlab-gitaly:
Prune version 0.16.0 and unneeded files Package-Manager: Portage-2.3.6, Repoman-2.3.1
This commit is contained in:
parent
8771a2ee99
commit
18ea34b6be
5 changed files with 6 additions and 65 deletions
|
@ -1,8 +0,0 @@
|
|||
CONFIGFILE=/etc/gitlab/gitaly-config.toml
|
||||
RUNAS_USER=git
|
||||
RUNAS_GROUP=${RUNAS_USER}
|
||||
LOGFILE=/var/log/gitlab/gitlab-gitaly.log
|
||||
|
||||
# This must match the setting in /etc/gitlab/gitaly-config.toml
|
||||
# If not using a socket, simply comment out or delete the next line.
|
||||
SOCKETDIR=/run/gitlab
|
|
@ -1,19 +0,0 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
start() {
|
||||
ebegin "Starting gitlab-gitaly"
|
||||
|
||||
checkpath -f -m 640 -o ${RUNAS_USER}:${RUNAS_GROUP} ${LOFGILE}
|
||||
[ -z "${SOCKETDIR}" ] || checkpath -d ${SOCKETDIR}
|
||||
|
||||
start-stop-daemon --start --exec /usr/bin/gitlab-gitaly --pidfile /run/gitlab-gitaly.pid \
|
||||
--make-pidfile --background --user ${RUNAS_USER}:${RUNAS_GROUP} --stdout "${LOGFILE}" --stderr "${LOGFILE}" \
|
||||
-- ${CONFIGFILE}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping gitlab-gitaly"
|
||||
start-stop-daemon --stop --exec /usr/bin/gitlab-gitaly --pidfile /run/gitlab-gitaly.pid --user ${RUNAS_USER}:${RUNAS_GROUP}
|
||||
eend $?
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue