-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make config folder dynamic using OPENSEARCH_PATH_CONF var (#2048)
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
- Loading branch information
1 parent
2c2e4e4
commit 4597d77
Showing
6 changed files
with
31 additions
and
26 deletions.
There are no files selected for viewing
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
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
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
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
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
4 changes: 1 addition & 3 deletions
4
...rvice_templates/opensearch/usr/lib/systemd/system/opensearch-performance-analyzer.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
[Unit] | ||
Description=OpenSearch Performance Analyzer | ||
#PartOf=opensearch.service | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/usr/share/opensearch/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli | ||
Restart=on-failure | ||
User=opensearch | ||
Group=opensearch | ||
Environment=OPENSEARCH_HOME=/usr/share/opensearch | ||
EnvironmentFile=-/etc/sysconfig/opensearch | ||
WorkingDirectory=/usr/share/opensearch | ||
|
||
[Install] | ||
#WantedBy=opensearch.service | ||
WantedBy=multi-user.target |