Re: [PATCH] Add start- stop- box/smsc, store-status functionality to debian init script
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, patch not tested but the idea is good and I'm +1 to commit it. Any objections? Alex Am 12.03.2013 um 00:09 schrieb Konstantin Vayner <[email protected]>: > This adds some new features to debian init script: > > 1. Allow start/stop separate boxes via /etc/init.d/kannel {start|stop}-box boxname > 2. Allow start/stop smsc by /etc/init.d/kannel {start|stop}-smsc smsc-id > 3. Allow querying store status via /etc/init.d/kannel store-status > 4. Actually, it also allows arbitrary http admin commands via /etc/init.d/kannel http-admin command params , where params should be a single-argument string, prepared to be passed via url (in form "param1=value¶m2=value") > > NB: startup/shutdown output format changed to multiple lines of output here (because it uses start-box / stop-box internally, and each call like that outputs a line) > > Attached. > > Regards, > Konstantin > <debian_kannel_init.patch>