I have a patch for the init script for 12.04 to allow a status check. How do I submit it?

Asked by Simeon Berkley

In order to have configuration management tools like salt manage the keepalived service, the init script has to have a 'status' function. I've made a simple one and have a patch:

-snip-
--- keepalived 2013-07-23 12:23:33.931991938 -0500
+++ keepalived 2013-07-23 14:57:16.332302000 -0500
@@ -71,6 +71,10 @@
                log_end_msg 1
        fi
        ;;
+ status)
+ status_of_proc -p /var/run/$NAME.pid "$DAEMON" keepalived
+ exit $?
+ ;;
   *)
        echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2
        exit 1
-snip-

Thanks,

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu keepalived Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug with your fix

Can you help with this problem?

Provide an answer of your own, or ask Simeon Berkley for more information if necessary.

To post a message you must log in.