Sha256: 66d7bcfedb9eb76d3583015a52e897486ae668b4f7923819a5ac082a0f8c131d

Contents?: true

Size: 458 Bytes

Versions: 62

Compression:

Stored size: 458 Bytes

Contents

<%
  @path = "/etc/init/zookeeper.conf"
  @backup = false
%>
description "zookeeper server"

start on runlevel [2345]
stop on runlevel [016]

script
  cd <%= rubber_env.zookeeper_install_dir %>
  ulimit -n 65536
  exec ./bin/zkServer.sh start-foreground
end script

post-start script
  status zookeeper | head -n1 | awk '{print $NF}' > <%= rubber_env.zookeeper_pid_file %>
end script

post-stop script
  rm -f <%= rubber_env.zookeeper_pid_file %>
end script

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-3.2.1 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-3.2.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-3.1.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-3.0.1 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-3.0.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.16.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.15.2 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.15.1 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.15.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.14.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.13.1 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.13.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.12.2 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.12.1 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.12.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.11.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.10.2 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.10.1 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf
rubber-2.10.0 templates/zookeeper/config/rubber/role/zookeeper/zookeeper-upstart.conf