From 45019d67cdc363f6b6d14095c9795b06df97f112 Mon Sep 17 00:00:00 2001 From: hau Date: Thu, 13 Aug 2020 22:17:43 +0700 Subject: [PATCH] add more --- Applications/Misc/librdkafka.md | 6 +++++- Applications/System/systemd-swap.md | 12 ++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Applications/Misc/librdkafka.md b/Applications/Misc/librdkafka.md index 1ff196b..8e9e27e 100644 --- a/Applications/Misc/librdkafka.md +++ b/Applications/Misc/librdkafka.md @@ -1,6 +1,10 @@ # [librdkafka](https://github.com/edenhill/librdkafka) -Add to `~/.bashrc`, `~/.zshrc`: +| Distribution | Package | +| ------------ | ------------ | +| Arch Linux | `librdkafka` | + +If compile, add to `~/.bashrc`, `~/.zshrc`: ```sh export LD_LIBRARY_PATH=/usr/local/lib diff --git a/Applications/System/systemd-swap.md b/Applications/System/systemd-swap.md index c538f0e..48af6b0 100644 --- a/Applications/System/systemd-swap.md +++ b/Applications/System/systemd-swap.md @@ -4,15 +4,15 @@ | ------------ | -------------- | | Arch Linux | `systemd-swap` | -Enable and start service: - -```sh -systemctl enable --now systemd-swap -``` - Edit `/etc/systemd/swap.conf`: ```txt swapfc_enabled=1 swapfc_force_preallocated=1 ``` + +Enable and start service: + +```sh +systemctl enable --now systemd-swap.service +```