Skip to content

Instantly share code, notes, and snippets.

@bejean
bejean / solr-fs-indexer
Created October 23, 2014 06:40
dropwizard init.d sample script
#! /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"
@bejean
bejean / solr
Last active August 29, 2015 14:08
solr init.d script pour Centos
#! /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"