reload config via killall -HUP $BINARY
authorhackbard <hackbard>
Sun, 14 Dec 2003 00:41:51 +0000 (00:41 +0000)
committerhackbard <hackbard>
Sun, 14 Dec 2003 00:41:51 +0000 (00:41 +0000)
unreal_update.sh

index 7fc09c9..876484c 100755 (executable)
@@ -13,5 +13,5 @@ NEWIP="`host hackdaworld.dyndns.org | awk '{ print $4 }'`"
 cat $CONFIGDIR/unrealircd.conf | \
  sed "s/.* HDWTAG .*/hostname ::ffff:$NEWIP; \/* HDWTAG *\//" > $CONFIGDIR/temp
 mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf
-$BINDIR/$BINARY rehash
+killall -HUP $BINARY