Remove elasticsearch module, it is no longer needed
[mirror/dsa-puppet.git] / 3rdparty / modules / elasticsearch / templates / etc / init.d / elasticsearch.systemd.erb
diff --git a/3rdparty/modules/elasticsearch/templates/etc/init.d/elasticsearch.systemd.erb b/3rdparty/modules/elasticsearch/templates/etc/init.d/elasticsearch.systemd.erb
deleted file mode 100644 (file)
index 5bdb6ba..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-[Unit]
-Description=Starts and stops a single elasticsearch instance on this system
-Documentation=http://www.elasticsearch.org
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/sysconfig/elasticsearch-<%= @name %>
-User=<%= @user %>
-Group=<%= @group %>
-PIDFile=/var/run/elasticsearch/elasticsearch-<%= @name %>.pid
-ExecStart=/usr/share/elasticsearch/bin/elasticsearch -d -p /var/run/elasticsearch/elasticsearch-<%= @name %>.pid -Des.default.config=$CONF_FILE -Des.default.path.home=$ES_HOME -Des.default.path.logs=$LOG_DIR -Des.default.path.data=$DATA_DIR -Des.default.path.work=$WORK_DIR -Des.default.path.conf=$CONF_DIR
-# See MAX_OPEN_FILES in sysconfig
-LimitNOFILE=65535
-# See MAX_LOCKED_MEMORY in sysconfig, use "infinity" when MAX_LOCKED_MEMORY=unlimited and using bootstrap.mlockall: true
-#LimitMEMLOCK=infinity
-# Shutdown delay in seconds, before process is tried to be killed with KILL (if configured)
-TimeoutStopSec=20
-
-[Install]
-WantedBy=multi-user.target