From b23b67c1cc0b2541580f23c9aec97c0b84a823f4 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 21 Feb 2014 09:56:37 -0500 Subject: [PATCH] Select default/configured gc period in create/edit repository page --- 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