diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-12-18 20:56:04 -0800 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-12-18 20:56:04 -0800 |
commit | 33ea4652ccfe8d2ae412cee541bf1a7c2ccb695e (patch) | |
tree | 2b2cfc77cb15f1e91d74d471863a1a396a1f1a66 | |
parent | 5c701dcdfc0d9d99dcfcca0bebe6e0dfe69a8dca (diff) |
Change vPKG honeycomb restart to hourly instead
Change-Id: I70995f4598f9a2b855061e8c624fb1d357b8b6da
Issue-ID: INT-780
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rwxr-xr-x | vnfs/vFW/scripts/v_packetgen_install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnfs/vFW/scripts/v_packetgen_install.sh b/vnfs/vFW/scripts/v_packetgen_install.sh index 19976b0c..2f58e6a2 100755 --- a/vnfs/vFW/scripts/v_packetgen_install.sh +++ b/vnfs/vFW/scripts/v_packetgen_install.sh @@ -82,14 +82,14 @@ apt-get update apt-get install -y vpp vpp-dpdk-dkms vpp-lib vpp-dbg vpp-plugins vpp-dev sleep 1 -# Install honeycomb daily reboot script (workaround due to honeycomb file handle leak) -cat > /etc/cron.daily/honeycomb <<EOF +# Install honeycomb restart script (workaround due to honeycomb file handle leak) +cat > /etc/cron.hourly/honeycomb <<EOF #!/bin/bash VERSION=$(cat /opt/config/demo_artifacts_version.txt) pkill java /opt/honeycomb/sample-distribution-$VERSION/honeycomb &>/dev/null &disown EOF -chmod +x /etc/cron.daily/honeycomb +chmod +x /etc/cron.hourly/honeycomb # Run instantiation script cd /opt |