[arch-general] Fw: get pid of daemon in init script
9 Feb
2008
9 Feb
'08
4:35 a.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
6128
Age (days ago)
6128
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Krauss