Actually, I DID try it! (ROTL) The lrcfg.back.script that comes with
standard Dachstein has 5 references to ticker (2 invocations and 3 killall).
Obviously, the 2 invocations do not contain the blessed & that will fork the
new ticker script. Implicitly, the killall will not work either.

I don't mind changing these or any other script but this solution is not
*entirely compatible* with the old one :-). I do welcome the savings and I
will go with the paranoid solution.

Serge Caron

-----Original Message-----
From: Charles Steinkuehler <[EMAIL PROTECTED]>
To: Serge Caron <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: January 24, 2002 9:44 AM
Subject: Re: [Leaf-devel] Ticker script


>> 1) How do you fork this thing so that, for example, you can do a backup?
>
>Just like always from a shell script:
>  ticker &
>
>> 2) Using the shell will creat a job (typically "sh /usr/sbin/ticker")
that
>> will not be recognized by the "killall ticker" command.
>
>Actually, it does work (try it and see), but if you want to be paranoid,
and
>not trust killall, a simple:
>
>ticker &
>PID=$!
>...more stuff here...
>kill $PID
>
>Will work as well...
>
>Charles Steinkuehler
>http://lrp.steinkuehler.net
>http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
>
>
>
>


_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to