changeset 3:0e343724004b

Added a short documentation
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 18 Jun 2010 14:46:26 +0900
parents 9cd6c787c9d4
children 08873cdbf911
files scripts/freeDiameter-trig.sh
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/freeDiameter-trig.sh	Fri Jun 18 10:37:35 2010 +0900
+++ b/scripts/freeDiameter-trig.sh	Fri Jun 18 14:46:26 2010 +0900
@@ -1,5 +1,12 @@
 #!/bin/bash -x
 
+# Usage: ./$0 [loop]
+# If "loop" is specified on the command line, the signal
+# will be sent every 10 seconds. Otherwise, it is only sent once.
+
+# Note: if the daemon is restarted (changes its PID), this script
+# must also be restarted.
+
 PID=`ps --no-heading -C freeDiameterd -o '%p'`;
 if [ "$1" = "loop" ];
 then while (true); do sleep 10; kill -USR1 $PID; done;
"Welcome to our mercurial repository"