Re: init script output
Hello Yaroslav,
Yaroslav Halchenko <debian@onerussian.com> 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!
Reply to: