tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Kill -HUP in Scripts
@ 2001-01-03 20:49 J Bacher
  0 siblings, 0 replies; only message in thread
From: J Bacher @ 2001-01-03 20:49 UTC (permalink / raw)
  To: tru64-unix-managers

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-03 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-03 20:49 Kill -HUP in Scripts J Bacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox