This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
operation-and-maintenance-a…/bigdata-scripts_test3/roles/zookeeper/templates/keepzkalive.j2
2020-03-10 19:52:21 +08:00

12 lines
333 B
Django/Jinja
Executable File

#!/bin/bash
#
# netconsole This loads the netconsole module with the configured parameters.
#
# chkconfig:123456 20 80
# description: keepzkalive
source /etc/profile
PRO_NAME=keepzklive
killall -9 dae-zookeeper.sh
{{ zookeeper.base_dir }}/{{ zookeeper.version }}/bin/dae-zookeeper.sh {{ zookeeper.base_dir }} > /dev/null 2>&1 &