tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: J Bacher <jb () jbacher ! com>
To: tru64-unix-managers
Subject: Kill -HUP in Scripts
Date: Wed, 03 Jan 2001 20:49:46 +0000	[thread overview]
Message-ID: <97855498600335.tru64-unix-managers.marc@archive.invalid> (raw)

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.

                 reply	other threads:[~2001-01-03 20:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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