Package: oidentd
Version: 2.0.8-4
Severity: wishlist
Tags: patch
Here is a patch to add support for the "status" action to the init
script of oidentd.
diff -u oidentd-2.0.8/debian/init oidentd-2.0.8/debian/init
--- oidentd-2.0.8/debian/init
+++ oidentd-2.0.8/debian/init
@@ -54,8 +54,11 @@
start-stop-daemon --start --quiet --exec ${OIDENTD} -- ${OPTIONS}
log_end_msg $?
;;
+ status)
+ status_of_proc "$OIDENTD" "oidentd" && exit 0 || exit $?
+ ;;
*)
- log_success_msg "Usage: $0 {start|stop|restart|reload|force-reload}"
+ log_success_msg "Usage: $0 {start|stop|restart|reload|force-reload|status}"
exit 1
;;
esac
diff -u oidentd-2.0.8/debian/changelog oidentd-2.0.8/debian/changelog
--- oidentd-2.0.8/debian/changelog
+++ oidentd-2.0.8/debian/changelog
@@ -1,3 +1,9 @@
+oidentd (2.0.8-4.1) UNRELEASED; urgency=low
+
+ * Add support for "status" action to init.d script
+
+ -- Peter Eisentraut <[email protected]> Mon, 07 Nov 2011 06:39:36 +0200
+
oidentd (2.0.8-4) unstable; urgency=low
* Bind to ipv6-socket by default as well (Closes: #533604)