This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
# chkconfig: 2345 90 10 | |
# description: solr daemon | |
. /etc/init.d/functions | |
# You will probably want to change only two following lines. | |
BASEDIR="/opt/solr" | |
USER="root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
# chkconfig: 2345 90 10 | |
# description: solr-fs-indexer daemon | |
. /etc/init.d/functions | |
# You will probably want to change only two following lines. | |
BASEDIR="/opt/rnglobal/indexer" | |
USER="root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# init.d script with LSB support. | |
# | |
# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org> | |
# | |
# This is free software; you may redistribute it and/or modify | |
# it under the terms of the GNU General Public License as | |
# published by the Free Software Foundation; either version 2, | |
# or (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Template LSB system startup script for example service/daemon FOO | |
# Copyright (C) 1995--2005 Kurt Garloff, SUSE / Novell Inc. | |
# | |
# This library is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation; either version 2.1 of the License, or (at | |
# your option) any later version. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Purpose: This script starts and stops the Zookeeper daemon | |
# chkconfig: - 90 10 | |
# description: Zookeeper daemon | |
# Source function library | |
. /etc/init.d/functions | |
APP=/opt/zookeeper/bin/zkServer.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------- | |
# zookeeper-env.sh | |
#-------------------------------------------------------------------- | |
# Configure Log | |
ZOO_LOG_DIR="/var/log/zookeeper" | |
ZOO_LOG4J_PROP="WARN, ROLLINGFILE" | |
# Configure JVM GC log | |
ZOO_GC_LOG_DIR="/var/log/zookeeper" | |
SERVER_JVMFLAGS="-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# zookeeper Start/Stop | |
# | |
# change this value as necessary | |
RUNAS=zookeeper | |
APP=/home/zookeeper/zookeeper/bin/zkServer.sh | |
export JAVA_HOME=/usr/bin/java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# albTika Start/Stop Tika server. | |
# | |
# chkconfig: 35 99 01 | |
# description: Tika server is the document converter process of AMI Enterprise Intelligence | |
# | |
# processname: albTika | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Prometheus Node Exporter | |
After=network-online.target | |
[Service] | |
User=prometheus | |
Restart=on-failure | |
#Change this line if you download the | |
#Prometheus on different path user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Prometheus Solr Exporter | |
After=network-online.target | |
[Service] | |
User=solr | |
Restart=on-failure | |
#Change this line if you download the | |
#Prometheus on different path user |
OlderNewer