docs: 1 style systemd
parent
b471d086f1
commit
97766543dc
|
@ -7,9 +7,3 @@
|
|||
| Arch Linux | `networkmanager` |
|
||||
|
||||
Service: `NetworkManager.service`
|
||||
|
||||
Enable:
|
||||
|
||||
```sh
|
||||
systemctl enable NetworkManager.service
|
||||
```
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# [PipeWire](https://pipewire.org/)
|
||||
|
||||
## Installation
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ----------------------------------------------------- |
|
||||
| Arch Linux | `pipewire pipewire-alsa pipewire-pulse pipewire-jack` |
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# [Profile-sync-daemon](https://github.com/graysky2/profile-sync-daemon)
|
||||
|
||||
## Installation
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | --------------------- |
|
||||
| Arch Linux | `profile-sync-daemon` |
|
||||
|
|
|
@ -1,18 +1,16 @@
|
|||
# [TLP](https://github.com/linrunner/TLP)
|
||||
|
||||
## Installation
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ------- |
|
||||
| Arch Linux | `tlp` |
|
||||
| Ubuntu | `tlp` |
|
||||
| Fedora | `tlp` |
|
||||
|
||||
Enable and start service:
|
||||
Service: `tlp.service`
|
||||
|
||||
```sh
|
||||
systemctl enable --now tlp.service
|
||||
```
|
||||
|
||||
## Thinkpads only
|
||||
### Thinkpads only
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ---------------- |
|
||||
|
|
|
@ -1,11 +1,17 @@
|
|||
# [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy)
|
||||
|
||||
## Installation
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ---------------- |
|
||||
| Arch Linux | `dnscrypt-proxy` |
|
||||
| Ubuntu | `dnscrypt-proxy` |
|
||||
| Fedora | `dnscrypt-proxy` |
|
||||
|
||||
Service: `dnscrypt-proxy.service`
|
||||
|
||||
## Configuration
|
||||
|
||||
Edit `/etc/dnscrypt-proxy/dnscrypt-proxy.toml`:
|
||||
|
||||
```toml
|
||||
|
@ -14,12 +20,6 @@ listen_addresses = ['127.0.0.1:53', '[::1]:53']
|
|||
server_names = ['google', 'google-ipv6', 'cloudflare', 'cloudflare-ipv6']
|
||||
```
|
||||
|
||||
Enable and start service:
|
||||
|
||||
```sh
|
||||
systemctl enable --now dnscrypt-proxy.service
|
||||
```
|
||||
|
||||
In NetworkManager GUI, turn off automatic DNS and edit:
|
||||
|
||||
```txt
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
# [earlyoom](https://github.com/rfjakob/earlyoom)
|
||||
|
||||
## Installation
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ---------- |
|
||||
| Arch Linux | `earlyoom` |
|
||||
| Ubuntu | `earlyoom` |
|
||||
| Fedora | `earlyoom` |
|
||||
|
||||
Enable and start service:
|
||||
|
||||
```sh
|
||||
systemctl enable --now earlyoom.service
|
||||
```
|
||||
Service: `earlyoom.service`
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
# [efibootmgr](https://github.com/rhboot/efibootmgr)
|
||||
|
||||
## Installation
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ------------ |
|
||||
| Arch Linux | `efibootmgr` |
|
||||
| Ubuntu | `efibootmgr` |
|
||||
| Fedora | `efibootmgr` |
|
||||
|
||||
## Usage
|
||||
|
||||
Display current Boot Manager settings:
|
||||
|
||||
```sh
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
# fstrim
|
||||
|
||||
Enable and start service:
|
||||
|
||||
```sh
|
||||
systemctl enable --now fstrim.timer
|
||||
```
|
||||
Service: `fstrim.timer`
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# [fwupd](https://github.com/fwupd/fwupd)
|
||||
|
||||
## Installation
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | ----------------------------------- |
|
||||
| Arch Linux | `fwupd` |
|
||||
|
@ -7,9 +9,9 @@
|
|||
| Fedora | `fwupd` |
|
||||
| Snap | [fwupd](https://snapcraft.io/fwupd) |
|
||||
|
||||
Usage flow:
|
||||
## Usage
|
||||
|
||||
```
|
||||
```sh
|
||||
fwupdmgr get-devices
|
||||
|
||||
fwupdmgr refresh
|
||||
|
|
|
@ -10,12 +10,6 @@
|
|||
|
||||
Service: `iwd.service`
|
||||
|
||||
Enable:
|
||||
|
||||
```sh
|
||||
systemctl enable iwd.service
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
After run `iwctl`:
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
# systemd-boot
|
||||
|
||||
Read [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot).
|
||||
# [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot)
|
||||
|
||||
Install using XBOOTLDR:
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# [systemd-coredump](https://wiki.archlinux.org/index.php/Core_dump#Using_systemd)
|
||||
|
||||
Edit `/etc/systemd/coredump.conf.d/custom.conf`:
|
||||
Create directory if not exist `/etc/systemd/coredump.conf.d` and edit `/etc/systemd/coredump.conf.d/custom.conf`:
|
||||
|
||||
```txt
|
||||
[Coredump]
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
Service: `systemd-journald.service`
|
||||
|
||||
Remember to restart service after editing.
|
||||
|
||||
Create directory if not exist `/etc/systemd/journald.conf.d` and edit `/etc/systemd/journald.conf.d/00-journal-size.conf`:
|
||||
|
||||
```txt
|
||||
|
|
|
@ -4,18 +4,10 @@
|
|||
|
||||
Service: `systemd-networkd.service`
|
||||
|
||||
Enable:
|
||||
|
||||
```sh
|
||||
systemctl enable systemd-networkd.service
|
||||
```
|
||||
|
||||
Need [systemd-resolved](Applications/System/systemd-resolved.md).
|
||||
|
||||
## Configuration
|
||||
|
||||
After editing, remember to restart service.
|
||||
|
||||
Wired adapter, edit `/etc/systemd/network/20-wired.network`:
|
||||
|
||||
```txt
|
||||
|
|
|
@ -3,9 +3,3 @@
|
|||
## Installation
|
||||
|
||||
Service: `systemd-resolved.service`
|
||||
|
||||
Enable:
|
||||
|
||||
```sh
|
||||
systemctl enable systemd-networkd.service
|
||||
```
|
||||
|
|
|
@ -1,10 +1,16 @@
|
|||
# [systemd-swap](https://github.com/Nefelim4ag/systemd-swap)
|
||||
|
||||
## Installation
|
||||
|
||||
| Distribution | Package |
|
||||
| ------------ | -------------- |
|
||||
| Arch Linux | `systemd-swap` |
|
||||
| Fedora | `systemd-swap` |
|
||||
|
||||
Service: `systemd-swap.service`
|
||||
|
||||
## Configuration
|
||||
|
||||
Create directory if not exist `/etc/systemd/swap.conf.d` and edit `/etc/systemd/swap.conf.d/overrides.conf`:
|
||||
|
||||
```txt
|
||||
|
@ -16,9 +22,3 @@ Edit `/etc/sysctl.d/99-swappiness.conf`:
|
|||
```txt
|
||||
vm.swappiness=10
|
||||
```
|
||||
|
||||
Enable and start service:
|
||||
|
||||
```sh
|
||||
systemctl enable --now systemd-swap.service
|
||||
```
|
||||
|
|
|
@ -7,11 +7,7 @@
|
|||
| Ubuntu | [See](https://docs.docker.com/engine/install/ubuntu/) |
|
||||
| Fedor | [See](https://docs.docker.com/engine/install/fedora/) |
|
||||
|
||||
Enable and start service:
|
||||
|
||||
```sh
|
||||
systemctl enable --now docker.service
|
||||
```
|
||||
Service: `docker.service`
|
||||
|
||||
Add your user to `docker` group:
|
||||
|
||||
|
|
Loading…
Reference in New Issue