Created
October 17, 2019 06:51
-
-
Save bejean/772356b0b878c1aca02b7f4dc6262172 to your computer and use it in GitHub Desktop.
Prometheus solr-exporter.service
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 | |
ExecStart=/opt/solr/solr/contrib/prometheus-exporter/bin/solr-exporter -p 9854 -z zk1:2181,zk2:2181,zk3:2181 -f /opt/solr/solr/contrib/prometheus-exporter/conf/solr-exporter-config.xml -n 16 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment