From 4affd0a3a4fe086b31a87d56616f74093d2ac715 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 07 Mar 2014 14:59:02 -0500 Subject: [PATCH] Display an explanation in ticket page if the user can't propose commits --- src/main/distrib/linux/service-ubuntu.sh | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/distrib/linux/service-ubuntu.sh b/src/main/distrib/linux/service-ubuntu.sh index 4ff275d..f21ec2a 100644 --- a/src/main/distrib/linux/service-ubuntu.sh +++ b/src/main/distrib/linux/service-ubuntu.sh @@ -1,6 +1,14 @@ #!/bin/bash -# chkconfig: 3 21 91 -# Source function library. +### BEGIN INIT INFO +# Provides: gitblit +# Required-Start: $remote_fs $syslog $network +# Required-Stop: $remote_fs $syslog $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Gitblit repository server +# Description: Gitblit is a stand-alone service for managing, viewing and serving Git repositories. +### END INIT INFO + . /lib/init/vars.sh . /lib/lsb/init-functions @@ -36,6 +44,7 @@ force-reload|restart) $0 stop + sleep 5 $0 start ;; -- Gitblit v1.9.1