[pkg-fso-commits] [nodm] 09/50: debian/nodm.init: Support "status" argument in nodm init script. (Closes: #753304).
Mike Gabriel
sunweaver at debian.org
Mon Jan 23 15:19:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository nodm.
commit 4292731f2ed44b1e905972eb20f22532b3d6c2ad
Author: Niklas Fiekas <niklas.fiekas at tu-clausthal.de>
Date: Wed Mar 23 13:25:20 2016 +0100
debian/nodm.init: Support "status" argument in nodm init script. (Closes: #753304).
---
debian/changelog | 4 ++++
debian/nodm.init | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 62642d3..b190e9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,10 @@ nodm (0.12-1) UNRELEASED; urgency=low
* debian/control:
+ Drop x11-xserver-utils dependency. (Closes: #680269).
+ [ Niklas Fiekas ]
+ * debian/nodm.init:
+ + Support "status" argument in nodm init script. (Closes: #753304).
+
-- Mike Gabriel <sunweaver at debian.org> Wed, 23 Mar 2016 12:59:38 +0100
nodm (0.11-1.3) unstable; urgency=low
diff --git a/debian/nodm.init b/debian/nodm.init
index c09768e..ca4340c 100644
--- a/debian/nodm.init
+++ b/debian/nodm.init
@@ -68,8 +68,11 @@ case "$1" in
$0 stop
$0 start
;;
+ status)
+ status_of_proc -p ${PIDFILE} /usr/sbin/nodm nodm && exit 0 || exit $?
+ ;;
*)
- log_success_msg "Usage: $0 {start|stop|restart|force-reload}" >&2
+ echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2
exit 1
;;
esac
--
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-fso/nodm.git
More information about the pkg-fso-commits
mailing list