[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LSB-ize daemon without pidfile handling

On Fri, 9 Nov 2007 08:49:22 +0100, Wouter Verhelst <wouter@debian.org>
>On Thu, Nov 08, 2007 at 09:36:24PM +0100, Marc Haber wrote:
>> How am I supposed to properly lsb-ize ser2net's init script? Is it ok
>> to directly call s-s-d from the init script or do I need other
>> workarounds?
>Reading through init-functions:
>log_daemon_msg "Starting Foo Daemon" "foo"
>start-stop-daemon --whatever --you --want --here
>log_end_msg 0

I do not think that this is particularly elegant since it duplicates
code from init-functions. But if people think that this is ok, it'll
be the way to go.


-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

Reply to: