[pkg-fso-commits] [SCM] gpsd for fso branch, debian, updated. debian/0.8-2-20-gf2387cf
Luca Capello
luca at pca.it
Fri May 29 00:02:14 UTC 2009
The following commit has been merged in the debian branch:
commit c898f3d201925c2c165049b5d32e6f442e053293
Author: Luca Capello <luca at pca.it>
Date: Fri May 29 00:26:00 2009 +0200
debian/fso-gpsd.init: fix indentation
diff --git a/debian/changelog b/debian/changelog
index d6c2fdf..956c5be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ fso-gpsd (0.8-3) UNRELEASED; urgency=low
+ add --oknodo to start case (Standards-Version 3.8.1).
+ simplify restart/force-reload case.
+ do not hardcode path for usage output.
+ + fix indentation.
* debian/rules:
+ generate the manpage, thanks to lintian (this unfortunately
required a more verbose rules file).
diff --git a/debian/fso-gpsd.init b/debian/fso-gpsd.init
index 8d2e99f..05b9e25 100644
--- a/debian/fso-gpsd.init
+++ b/debian/fso-gpsd.init
@@ -41,22 +41,22 @@ DAEMON_OPTS="-S localhost:gpsd -P $PIDFILE"
case "$1" in
- start)
+ start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --oknodo --start --quiet --pidfile ${PIDFILE} \
--exec $DAEMON -- $DAEMON_OPTS
[ "$VERBOSE" != no ] && log_end_msg $?
;;
- stop)
+ stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
start-stop-daemon --oknodo --stop --quiet --pidfile ${PIDFILE}
[ "$VERBOSE" != no ] && log_end_msg $?
;;
- restart|force-reload)
- $0 stop
- $0 start
+ restart|force-reload)
+ $0 stop
+ $0 start
;;
- *)
+ *)
log_success_msg "Usage: $0 {start|stop|restart|force-reload}" >&2
exit 1
;;
--
gpsd for fso
More information about the pkg-fso-commits
mailing list