[Bug 1100857] Re: Init script does not support status command
Serge Hallyn
1100857 at bugs.launchpad.net
Thu Jan 17 20:29:28 UTC 2013
Thanks for reporting this bug and proposing a patch. I notice that in
raring, a shorter patch was used to implement status. Does the
following patch work for you in precise?
--- debian/backuppc.init 2013-01-17 20:20:25.000000000 +0000
+++ /home/ubuntu/backuppc-3.2.1/debian/backuppc.init 2013-01-17 20:19:36.000000000 +0000
@@ -81,11 +81,8 @@ case "$1" in
--signal 1
log_end_msg $?
;;
- status)
- status_of_proc "$BINDIR/$DAEMON" "$NAME" && exit 0 || exit $?
- ;;
*)
- log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart|reload|status}"
+ log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart|reload}"
exit 1
;;
esac
** Changed in: backuppc (Ubuntu)
Importance: Undecided => Low
** Changed in: backuppc (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to backuppc in Ubuntu.
https://bugs.launchpad.net/bugs/1100857
Title:
Init script does not support status command
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/1100857/+subscriptions
More information about the Ubuntu-server-bugs
mailing list