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 +```