All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 9b170567 authored by Leigh B Stoller's avatar Leigh B Stoller

Use daemon wrapper, the forwarder dies off when it cannot get to Utah

for a long time.
parent 2827e183
......@@ -19,8 +19,9 @@ if [ $CLUSTER_PORTAL == "" ]; then
exit 0
fi
wrapper=$TBROOT/sbin/daemon_wrapper
forwarder=/usr/local/libexec/pubsub_forward
pidfile=/var/run/pubsub_forward.pid
pidfile=/var/run/pubsub_forward_wrapper.pid
certfile=$TBROOT/etc/emulab.pem
keyfile=$TBROOT/etc/emulab.key
remoteport=@CLUSTER_PUBSUBD_PORT@
......@@ -29,8 +30,8 @@ args="-s $CLUSTER_PORTAL -p $remoteport -K $keyfile -C $certfile -S"
case "$1" in
start|faststart|quietstart|onestart|forcestart)
if [ -x $forwarder ]; then
$forwarder -e $pidfile $args
echo -n "igforwarder";
$wrapper -n pubsub_forward $forwarder -f $args
echo -n " igforwarder wrapper";
fi
;;
stop|faststop|quietstop|onestop|forcestop)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment