[Pkg-sysvinit-commits] r189 - sysvinit/trunk/debian/initscripts/etc/init.d

Thomas Hood jdthood-guest at costa.debian.org
Mon Nov 21 12:03:42 UTC 2005


Author: jdthood-guest
Date: 2005-11-21 12:03:41 +0000 (Mon, 21 Nov 2005)
New Revision: 189

Modified:
   sysvinit/trunk/debian/initscripts/etc/init.d/skeleton
Log:
Reformat a bit

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/skeleton
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/skeleton	2005-11-21 12:00:18 UTC (rev 188)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/skeleton	2005-11-21 12:03:41 UTC (rev 189)
@@ -9,15 +9,11 @@
 # Description:       This file should be used to construct scripts to be
 #                    placed in /etc/init.d.
 ### END INIT INFO
+
+# Author:	Foo Bar <foobar at baz.org>.
 #
-# Author:	Miquel van Smoorenburg <miquels at cistron.nl>.
-#		Ian Murdock <imurdock at gnu.ai.mit.edu>.
-#
-#		Please remove the "Author" lines above and replace them
-#		with your own name if you copy and modify this script.
-#
-# Version:	@(#)skeleton  2.85-23  28-Jul-2004  miquels at cistron.nl
-#
+# Please remove the "Author" lines above and replace them
+# with your own name if you copy and modify this script.
 
 set -e
 
@@ -38,11 +34,10 @@
 #fi
 
 #
-#	Function that starts the daemon/service.
+# Function that starts the daemon/service.
 #
 d_start() {
-	start-stop-daemon --start --quiet --pidfile $PIDFILE \
-		--exec $DAEMON \
+	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON \
 		|| echo -n " already running"
 }
 
@@ -50,17 +45,15 @@
 #	Function that stops the daemon/service.
 #
 d_stop() {
-	start-stop-daemon --stop --quiet --pidfile $PIDFILE \
-		--name $NAME \
+	start-stop-daemon --stop --quiet --pidfile $PIDFILE --name $NAME \
 		|| echo -n " not running"
 }
 
 #
-#	Function that sends a SIGHUP to the daemon/service.
+# Function that sends a SIGHUP to the daemon/service.
 #
 d_reload() {
-	start-stop-daemon --stop --quiet --pidfile $PIDFILE \
-		--name $NAME --signal 1
+	start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
 }
 
 case "$1" in
@@ -76,12 +69,12 @@
 	;;
   #reload)
 	#
-	#	If the daemon can reload its configuration without
-	#	restarting (for example, when it is sent a SIGHUP),
-	#	then implement that here.
+	# If the daemon can reload its configuration without
+	# restarting (for example, when it is sent a SIGHUP),
+	# then implement that here.
 	#
-	#	If the daemon responds to changes in its config file
-	#	directly anyway, make this an "exit 0".
+	# If the daemon responds to changes in its config file
+	# directly anyway, make this an "exit 0".
 	#
 	# echo -n "Reloading $DESC configuration..."
 	# d_reload
@@ -89,9 +82,9 @@
   #;;
   restart|force-reload)
 	#
-	#	If the "reload" option is implemented, move the "force-reload"
-	#	option to the "reload" entry above. If not, "force-reload" is
-	#	just the same as "restart".
+	# If the "reload" option is implemented, move the "force-reload"
+	# option to the "reload" entry above. If not, "force-reload" is
+	# just the same as "restart".
 	#
 	echo -n "Restarting $DESC: $NAME"
 	d_stop




More information about the Pkg-sysvinit-commits mailing list