@@ -523,27 +523,27 @@ configure(subprojects.findAll { ['archives', 'packages'].contains(it.name) }) {
523
523
* <dt >path.conf</dt>
524
524
* <dd >The default directory from which to load configuration. This is used in
525
525
* the packaging scripts, but in that context it is always
526
- * /etc/opensearch . Its also used in bin/opensearch-plugin, where it is
527
- * /etc/opensearch for the os packages but $OPENSEARCH_HOME/config otherwise.</dd>
526
+ * /etc/wazuh-indexer . Its also used in bin/opensearch-plugin, where it is
527
+ * /etc/wazuh-indexer for the os packages but $OPENSEARCH_HOME/config otherwise.</dd>
528
528
* <dt >path.env</dt>
529
529
* <dd >The env file sourced before bin/opensearch to set environment
530
- * variables. Think /etc/defaults/opensearch .</dd>
530
+ * variables. Think /etc/defaults/wazuh-indexer .</dd>
531
531
* <dt >heap.min and heap.max</dt>
532
532
* <dd >Default min and max heap</dd>
533
533
* <dt >scripts.footer</dt>
534
534
* <dd >Footer appended to control scripts embedded in the distribution that is
535
535
* (almost) entirely there for cosmetic reasons.</dd>
536
536
* <dt >stopping.timeout</dt>
537
- * <dd >RPM's init script needs to wait for opensearch to stop before
537
+ * <dd >RPM's init script needs to wait for wazuh-indexer to stop before
538
538
* returning from stop and it needs a maximum time to wait. This is it. One
539
539
* day. DEB retries forever.</dd>
540
540
* </dl>
541
541
*/
542
542
subprojects {
543
543
ext. expansionsForDistribution = { distributionType , jdk ->
544
544
final String defaultHeapSize = " 1g"
545
- final String packagingPathData = " path.data: /var/lib/opensearch "
546
- final String pathLogs = " /var/log/opensearch "
545
+ final String packagingPathData = " path.data: /var/lib/wazuh-indexer "
546
+ final String pathLogs = " /var/log/wazuh-indexer "
547
547
final String packagingPathLogs = " path.logs: ${ pathLogs} "
548
548
final String packagingLoggc = " ${ pathLogs} /gc.log"
549
549
@@ -558,8 +558,8 @@ subprojects {
558
558
' project.version' : version,
559
559
560
560
' path.conf' : [
561
- ' deb' : ' /etc/opensearch ' ,
562
- ' rpm' : ' /etc/opensearch ' ,
561
+ ' deb' : ' /etc/wazuh-indexer ' ,
562
+ ' rpm' : ' /etc/wazuh-indexer ' ,
563
563
' def' : ' "$OPENSEARCH_HOME"/config'
564
564
],
565
565
' path.data' : [
@@ -568,15 +568,15 @@ subprojects {
568
568
' def' : ' #path.data: /path/to/data'
569
569
],
570
570
' path.env' : [
571
- ' deb' : ' /etc/default/opensearch ' ,
572
- ' rpm' : ' /etc/sysconfig/opensearch ' ,
571
+ ' deb' : ' /etc/default/wazuh-indexer ' ,
572
+ ' rpm' : ' /etc/sysconfig/wazuh-indexer ' ,
573
573
/* There isn't one of these files for tar or zip but its important to
574
574
make an empty string here so the script can properly skip it. */
575
575
' def' : ' if [ -z "$OPENSEARCH_PATH_CONF" ]; then OPENSEARCH_PATH_CONF="$OPENSEARCH_HOME"/config; done' ,
576
576
],
577
577
' source.path.env' : [
578
- ' deb' : ' source /etc/default/opensearch ' ,
579
- ' rpm' : ' source /etc/sysconfig/opensearch ' ,
578
+ ' deb' : ' source /etc/default/wazuh-indexer ' ,
579
+ ' rpm' : ' source /etc/sysconfig/wazuh-indexer ' ,
580
580
' def' : ' if [ -z "$OPENSEARCH_PATH_CONF" ]; then OPENSEARCH_PATH_CONF="$OPENSEARCH_HOME"/config; fi' ,
581
581
],
582
582
' path.logs' : [
@@ -594,14 +594,14 @@ subprojects {
594
594
' heap.max' : defaultHeapSize,
595
595
596
596
' heap.dump.path' : [
597
- ' deb' : " -XX:HeapDumpPath=/var/lib/opensearch " ,
598
- ' rpm' : " -XX:HeapDumpPath=/var/lib/opensearch " ,
597
+ ' deb' : " -XX:HeapDumpPath=/var/lib/wazuh-indexer " ,
598
+ ' rpm' : " -XX:HeapDumpPath=/var/lib/wazuh-indexer " ,
599
599
' def' : " -XX:HeapDumpPath=data"
600
600
],
601
601
602
602
' error.file' : [
603
- ' deb' : " -XX:ErrorFile=/var/log/opensearch /hs_err_pid%p.log" ,
604
- ' rpm' : " -XX:ErrorFile=/var/log/opensearch /hs_err_pid%p.log" ,
603
+ ' deb' : " -XX:ErrorFile=/usr/share/wazuh-indexer /hs_err_pid%p.log" ,
604
+ ' rpm' : " -XX:ErrorFile=/usr/share/wazuh-indexer /hs_err_pid%p.log" ,
605
605
' def' : " -XX:ErrorFile=logs/hs_err_pid%p.log"
606
606
],
607
607
0 commit comments