[arch-general] Fw: get pid of daemon in init script
8 Feb
2008
8 Feb
'08
8:35 p.m.
On 08/02/08, Dan McGee wrote:
Because you are calling pidof before the process starts- bash does not do lazy evaluation of your expressions.
If you want to store the PID of the newly started process, you will have to make another PID=... call to get it in the else block where you access it.
Ohh, you are absolutely right. It is working now. I must get this damn Common Lisp out of my head before writing shell scripts next time. I will file a bug report on cups too. Thanks, Michael Krauss
6092
Age (days ago)
6092
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Krauss