~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/debian/init.d

  • Committer: John Ferlito
  • Date: 2009-09-02 04:31:45 UTC
  • mto: (4665.7.1 serve-init)
  • mto: This revision was merged to the branch mainline in revision 4913.
  • Revision ID: johnf@inodes.org-20090902043145-gxdsfw03ilcwbyn5
Add a debian init script for bzr --serve

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
USER=bzr
24
24
GROUP=bzr
25
25
REPO=/srv/bzr
26
 
ENABLED=0
27
26
 
28
27
# Exit if the package is not installed
29
28
[ -x "$DAEMON" ] || exit 0
34
33
# Load the VERBOSE setting and other rcS variables
35
34
[ -f /etc/default/rcS ] && . /etc/default/rcS
36
35
 
37
 
test "$ENABLED" != "0" || exit 0
38
 
 
39
36
# Define LSB log_* functions.
40
37
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
41
38
. /lib/lsb/init-functions