Hello Yaroslav,

Yaroslav Halchenko <[EMAIL PROTECTED]> wrote:
>> I would, of course, prefer a solution with the lsb functions. What
>> I want is to know when fail2ban started and when I accidentally
>> tried to start it while the daemon was already running.
> BTW - it seems that /etc/init.d/skeleton does not provide any additional
> status (which you requested), that is why I did it the way it is now (I
> believe)
>
> case "$1" in
>   start)
>   stop)

Is it possible to provide a status target? If so Martin can use
% fail2ban status; fail2ban start

Bye, Jörg.
-- 
Du kannst einem Schwein einen goldenen Ring durch die Nase ziehen,
deswegen bleibt es trozdem ein Schwein!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to