[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Add LSB comments to init script as suggested by Petter Rein...



Update of /home/or/cvsroot/tor/debian
In directory moria:/tmp/cvs-serv21236/debian

Modified Files:
      Tag: tor-0_1_0-patches
	changelog tor.init 
Log Message:
Add LSB comments to init script as suggested by Petter Reinholdtsen on the debian-devel list.


Index: changelog
===================================================================
RCS file: /home/or/cvsroot/tor/debian/changelog,v
retrieving revision 1.120.2.14
retrieving revision 1.120.2.15
diff -u -d -r1.120.2.14 -r1.120.2.15
--- changelog	13 Sep 2005 16:46:04 -0000	1.120.2.14
+++ changelog	13 Sep 2005 16:59:59 -0000	1.120.2.15
@@ -3,8 +3,12 @@
   * Ship debugging information in a separate package now, instead
     of simply not stripping tor.  This is still useful while tor is
     young.  Ideally it would go away some time.
+  * Add LSB comments to init script as suggested by Petter Reinholdtsen
+    on the debian-devel list:
+    - http://lists.debian.org/debian-devel/2005/08/msg01172.html
+    - http://wiki.debian.net/?LSBInitScripts
 
- -- Peter Palfrader <weasel@xxxxxxxxxx>  Tue, 13 Sep 2005 18:45:28 +0200
+ -- Peter Palfrader <weasel@xxxxxxxxxx>  Tue, 13 Sep 2005 18:58:25 +0200
 
 tor (0.1.0.14-1) unstable; urgency=high
 

Index: tor.init
===================================================================
RCS file: /home/or/cvsroot/tor/debian/tor.init,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -u -d -r1.13.2.2 -r1.13.2.3
--- tor.init	29 Jul 2005 10:01:54 -0000	1.13.2.2
+++ tor.init	13 Sep 2005 16:59:59 -0000	1.13.2.3
@@ -1,5 +1,19 @@
 #! /bin/sh
 
+### BEGIN INIT INFO
+# Provides:          tor
+# Required-Start:    $local_fs, $remote_fs, $network, $named, $time
+# Required-Stop:     $local_fs, $remote_fs, $network, $named, $time
+# Should-Start:      $syslog
+# Should-Stop:       $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Starts The Onion Router daemon processes
+# Description:       Start The Onion Router, a TCP overlay 
+#                    network client that provides anonymous
+#                    transport.
+### END INIT INFO
+
 set -e
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin