blob: 61c9efcf0be480fe597cfadd51ff0f2a750a02a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
post_install() {
if ! getent group manticore >/dev/null; then
groupadd --system manticore
fi
if ! getent passwd manticore >/dev/null; then
useradd --system --gid manticore --no-create-home --shell /bin/false manticore
fi
chown manticore:manticore /var/lib/manticore -R
chown manticore:manticore /var/log/manticore -R
chown manticore:manticore /etc/manticoresearch -R
echo "Manticore Search (https://manticoresearch.com)"
echo ""
echo "Get started with Manticore Search:"
echo " https://manual.manticoresearch.com/Quick_start_guide"
echo ""
echo "Learn Manticore with interactive courses:"
echo " https://play.manticoresearch.com/"
echo ""
echo "Configuration file:"
echo " /etc/manticoresearch/manticore.conf"
echo ""
echo "To start Manticore Search, run the following command:"
echo " > systemctl start manticore"
}
|