diff --git a/raw/etc/apt/trusted.gpg.d/manticore-keyring.gpg b/raw/etc/apt/trusted.gpg.d/manticore-keyring.gpg deleted file mode 100644 index ecdfdf6..0000000 Binary files a/raw/etc/apt/trusted.gpg.d/manticore-keyring.gpg and /dev/null differ diff --git a/raw/etc/default/manticore b/raw/etc/default/manticore deleted file mode 100644 index 607974d..0000000 --- a/raw/etc/default/manticore +++ /dev/null @@ -1,10 +0,0 @@ -# -# Settings for the manticore searchd daemon -# Please read /usr/share/doc/MANTICORE/README.Debian for details. -# - -# Should manticore run automatically on startup? (default: no) -# Before doing this you might want to modify /etc/manticoresearch/manticore.conf -# so that it works for you. -START=no - diff --git a/raw/etc/default/manticore-indexer_global b/raw/etc/default/manticore-indexer_global deleted file mode 100644 index c64b415..0000000 --- a/raw/etc/default/manticore-indexer_global +++ /dev/null @@ -1,2 +0,0 @@ -INDEXER_ARGS=--rotate --quiet -INDEXER_CONFIG=/etc/manticoresearch/manticore.conf diff --git a/raw/etc/logrotate.d/manticore b/raw/etc/logrotate.d/manticore deleted file mode 100644 index bd0cac3..0000000 --- a/raw/etc/logrotate.d/manticore +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/manticore/*.log { - weekly - rotate 10 - copytruncate - delaycompress - compress - notifempty - missingok -} diff --git a/raw/etc/manticoresearch/manticore.conf b/raw/etc/manticoresearch/manticore.conf deleted file mode 100644 index 9e2a153..0000000 --- a/raw/etc/manticoresearch/manticore.conf +++ /dev/null @@ -1,9 +0,0 @@ -searchd { - listen = 127.0.0.1:9312 - listen = 127.0.0.1:9306:mysql - listen = 127.0.0.1:9308:http - log = /var/log/manticore/searchd.log - query_log = /var/log/manticore/query.log - pid_file = /var/run/manticore/searchd.pid - data_dir = /var/lib/manticore -} diff --git a/raw/usr/bin/indexer b/raw/usr/bin/indexer deleted file mode 100755 index 390cd2e..0000000 Binary files a/raw/usr/bin/indexer and /dev/null differ diff --git a/raw/usr/bin/indextool b/raw/usr/bin/indextool deleted file mode 100755 index 6d33b3a..0000000 Binary files a/raw/usr/bin/indextool and /dev/null differ diff --git a/raw/usr/bin/manticore-backup b/raw/usr/bin/manticore-backup deleted file mode 100755 index 8b469fd..0000000 --- a/raw/usr/bin/manticore-backup +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash -executor=$(which manticore-executor 2> /dev/null) -if [[ -z "$executor" ]]; then - echo >&2 Manticore Backup requires manticore-executor. Please install package 'manticore-extra'. - exit 1 -fi - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -# Try to find where is the modules are stored -if [ -d /usr/share/manticore/modules/manticore-backup ]; then - src_dir=/usr/share/manticore/modules/manticore-backup; -elif [ -d /usr/local/share/manticore/modules/manticore-backup ]; then - src_dir=/usr/local/share/manticore/modules/manticore-backup; -elif [ -d /opt/homebrew/share/manticore/modules/manticore-backup ]; then - src_dir=/opt/homebrew/share/manticore/modules/manticore-backup; -elif [ -d "$SCRIPT_DIR/share/modules/manticore-backup" ]; then - src_dir="$SCRIPT_DIR/share/modules/manticore-backup" -elif [ -d "$SCRIPT_DIR/../src/main.php" ]; then - src_dir="$SCRIPT_DIR/.." -elif [ -d "$SCRIPT_DIR/../share/manticore/modules/manticore-backup" ]; then - src_dir="$SCRIPT_DIR/../share/manticore/modules/manticore-backup"; -else - echo >&2 Failed to find manticore-backup path in predefined share modules. - exit 1 -fi -exec $executor -n "$src_dir/src/main.php" "$@" diff --git a/raw/usr/bin/manticore-executor b/raw/usr/bin/manticore-executor deleted file mode 100755 index be38673..0000000 Binary files a/raw/usr/bin/manticore-executor and /dev/null differ diff --git a/raw/usr/bin/manticore_new_cluster b/raw/usr/bin/manticore_new_cluster deleted file mode 100755 index afe9d58..0000000 --- a/raw/usr/bin/manticore_new_cluster +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -if [ "$1" = "--force" ]; then - params="--new-cluster-force" -elif [ "$1" = "-h" -o "$1" = "--help" ]; then - echo "Usage: $0 [--force]" - echo - echo " W/o params: starts Manticore Search node in a replication cluster, making sure the node was stopped last of all the nodes" - echo " --force: forces starting Manticore Search node as the first node in a cluster" - echo - exit -else - params="--new-cluster" -fi -systemctl set-environment _ADDITIONAL_SEARCHD_PARAMS='$params' && systemctl start manticore -extcode=$? -systemctl set-environment _ADDITIONAL_SEARCHD_PARAMS='' -exit $extcode diff --git a/raw/usr/bin/manticoresearch-release b/raw/usr/bin/manticoresearch-release deleted file mode 100755 index a67f683..0000000 --- a/raw/usr/bin/manticoresearch-release +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -declare -A distr -distr[4]=buster -distr[8]=jessie -distr[9]=stretch -distr[10]=buster -distr[11]=bullseye -distr[12]=bookworm -distr[14]=trusty -distr[16]=xenial -distr[18]=bionic -distr[19]=bionic -distr[20]=focal -distr[21]=focal -distr[22]=jammy -distr[24]=jammy # should be noble - -. /etc/os-release - -if [[ -z $VERSION_ID && "$VERSION_CODENAME" == "bookworm" ]]; then - ID=12 - elif [[ -n $ID && "$ID" == "linuxmint" ]]; then # Mint Linux support - if [ -n "$DEBIAN_CODENAME" ]; then - distr["linuxmint"]=$DEBIAN_CODENAME - else - distr["linuxmint"]=$UBUNTU_CODENAME - fi - else - ID=$(echo $VERSION_ID | cut -f1 -d.) -fi - -echo "deb http://repo.manticoresearch.com/repository/manticoresearch_${distr[$ID]} ${distr[$ID]} main" > /etc/apt/sources.list.d/manticoresearch.list diff --git a/raw/usr/lib/systemd/system/manticore-indexer.service b/raw/usr/lib/systemd/system/manticore-indexer.service deleted file mode 100755 index 5e4fe70..0000000 --- a/raw/usr/lib/systemd/system/manticore-indexer.service +++ /dev/null @@ -1,27 +0,0 @@ -[Unit] -Description=Manticore Search Indexer -After=network.target remote-fs.target nss-lookup.target - -After=manticore.service - -StartLimitIntervalSec=5m -StartLimitBurst=5 - -[Service] -Type=oneshot -User=manticore -Group=manticore - -ExecStart=/usr/bin/indexer --config $INDEXER_CONFIG $INDEXER_ARGS --all -EnvironmentFile=-/etc/default/manticore-indexer_global -EnvironmentFile=-/etc/default/manticore-indexer -KillMode=process -KillSignal=SIGTERM - -SuccessExitStatus=2 -Restart=no -RestartSec=30s -TimeoutStartSec=infinity - -[Install] -WantedBy=multi-user.target diff --git a/raw/usr/lib/systemd/system/manticore-indexer@.service b/raw/usr/lib/systemd/system/manticore-indexer@.service deleted file mode 100755 index 544b3f6..0000000 --- a/raw/usr/lib/systemd/system/manticore-indexer@.service +++ /dev/null @@ -1,29 +0,0 @@ -[Unit] -Description=Manticore Search Indexer (%i) -After=network.target remote-fs.target nss-lookup.target - -After=manticore.service -Conflicts=manticore-indexer.service -After=manticore-indexer.service - -StartLimitIntervalSec=5m -StartLimitBurst=5 - -[Service] -Type=oneshot -User=manticore -Group=manticore - -ExecStart=/usr/bin/indexer --config $INDEXER_CONFIG $INDEXER_ARGS %i -EnvironmentFile=-/etc/default/manticore-indexer_global -EnvironmentFile=-/etc/default/manticore-indexer-%i -KillMode=process -KillSignal=SIGTERM - -SuccessExitStatus=2 -Restart=no -RestartSec=30s -TimeoutStartSec=infinity - -[Install] -WantedBy=multi-user.target diff --git a/raw/usr/lib/systemd/system/manticore.service b/raw/usr/lib/systemd/system/manticore.service deleted file mode 100755 index 4e5a80e..0000000 --- a/raw/usr/lib/systemd/system/manticore.service +++ /dev/null @@ -1,28 +0,0 @@ -[Unit] -Description=Manticore Search Engine -After=network.target remote-fs.target nss-lookup.target -Documentation=https://manual.manticoresearch.com/, man:searchd(1) - -[Service] -Type=forking -User=manticore -Group=manticore -RuntimeDirectory=manticore -# Run ExecStart with User=manticore / Group=manticore -ExecStart=/usr/bin/searchd --config /etc/manticoresearch/manticore.conf $_ADDITIONAL_SEARCHD_PARAMS -ExecStop=/usr/bin/searchd --config /etc/manticoresearch/manticore.conf --stopwait -KillMode=process -KillSignal=SIGTERM -SendSIGKILL=no -LimitNOFILE=65536 -LimitCORE=infinity -LimitMEMLOCK=infinity -Restart=on-failure -TimeoutStartSec=infinity -PIDFile=/var/run/manticore/searchd.pid - -[Install] -WantedBy=multi-user.target -Alias=manticore.service -Alias=searchd.service -