meilisearch ubuntu systemd



正在寻求ES的轻量化解决方案,看到了meilisearch,于是上手实验了一把。留了个systemd 配置笔记。

原始安装文档 https://docs.meilisearch.com/guides/advanced_guides/installation.html,官方给的 apt 的安装只有二进制文件,没有配置文件没有启动脚本。

简单来

/etc/default/meilisearch

/etc/systemd/system/meilisearch.service

启动



meilisearch ubuntu systemd by @sskaje: https://sskaje.me/2021/01/meilisearch-ubuntu-systemd/

Incoming search terms:

Debian 8 Systemd Change Service Ulimit

I was trying to set ulimit -n for redis-server, but neither /etc/security/limits.conf nor ulimit work.

Here is the solution:
1 open /lib/systemd/system/redis-server.service
2 add following lines to ‘[Service]

3 reload daemon

4 restart service

Same for php5-fpm.

Other ulimit related keys:

Debian 8 Systemd Change Service Ulimit by @sskaje: https://sskaje.me/2015/06/debian-8-systemd-change-service-ulimit/

Incoming search terms: