Why are we building this?
What do you want to achieve with building this? You can even talk about how this will effect Metrics or KPIs
| package example; | |
| import org.apache.lucene.analysis.standard.StandardAnalyzer; | |
| import org.apache.lucene.document.*; | |
| import org.apache.lucene.index.*; | |
| import org.apache.lucene.queryparser.classic.ParseException; | |
| import org.apache.lucene.queryparser.classic.QueryParser; | |
| import org.apache.lucene.search.*; | |
| import org.apache.lucene.store.Directory; | |
| import org.apache.lucene.store.FSDirectory; |
| [Unit] | |
| Description=command for running the cosmos node after restart. | |
| ConditionPathExists=/home/ubuntu/go/bin/gaiad | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=ubuntu | |
| Restart=on-failure |