Kill -HUP in Scripts

From: J Bacher <jb_at_jbacher.com>
Date: Wed, 03 Jan 2001 15:00:06 -0600

OS: Tru64 5.1
Script Shell: /bin/sh


I have a script that autoloads the radius configuration files every x minutes.

The relevant part of the script is (the linked path):

      cat /var/run/radiusd.pid |kill -HUP

I have also tried (the actual path):

      cat /var/cluster/members/member0/run/radiusd.pid |kill -HUP

Neither of the above two commands actually send the signal properly. No
errors are returned. I have run them manually to eliminate a syntax or
other error with the script. Runs, no errors, doesn't send the signal.

I have verified that the process id in the radiusd.pid file is the process
that the daemon is running. If I manually do a:

      # kill -HUP 123

it works fine. I use the first method on 4.0D and 5.0a systems. Is there
a change in 5.1 that would impact this [kill] program? Or is there an
issue with the way shell scripts call the [kill] command in 5.1?

Thanks in advance for any assistance.
Received on Wed Jan 03 2001 - 20:50:25 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT